Re: Assignment with colons *should* be tilde expanded in POSIX mode

2021-11-02 Thread Chet Ramey
On 11/1/21 6:37 PM, Anders Kaseorg wrote: As you know, POSIX requires tilde expansion following an an unquoted colon in an assignment [1]. A bug was reported [2] against bash 5.1-alpha that the tildes in $ echo foo=~:~ foo=~:~ should not be expanded in POSIX mode, because this is no

Assignment with colons *should* be tilde expanded in POSIX mode

2021-11-01 Thread Anders Kaseorg
As you know, POSIX requires tilde expansion following an an unquoted colon in an assignment [1]. A bug was reported [2] against bash 5.1-alpha that the tildes in $ echo foo=~:~ foo=~:~ should not be expanded in POSIX mode, because this is not an assignment. That was fixed in 5.1-beta.