Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode

2020-07-21 Thread Greg Wooledge
On Tue, Jul 21, 2020 at 03:14:59PM +0300, M. Nejat AYDIN wrote: > On 7/21/20 2:48 PM, Greg Wooledge wrote: > > On Tue, Jul 21, 2020 at 10:55:06AM +0300, M. Nejat AYDIN wrote: > > > Also, shouldn't the tilde be expanded following > > > $ echo ~: > > > ? The colon terminates tilde-prefix in an a

Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode

2020-07-21 Thread M. Nejat AYDIN
On 7/21/20 2:48 PM, Greg Wooledge wrote: On Tue, Jul 21, 2020 at 10:55:06AM +0300, M. Nejat AYDIN wrote: Also, shouldn't the tilde be expanded following $ echo ~: ? The colon terminates tilde-prefix in an assignment, but there is no assignment involved here. Works for me. unicorn:~$ echo

Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode

2020-07-21 Thread Greg Wooledge
On Tue, Jul 21, 2020 at 10:55:06AM +0300, M. Nejat AYDIN wrote: > Also, shouldn't the tilde be expanded following > $ echo ~: > ? The colon terminates tilde-prefix in an assignment, but there is no > assignment involved here. Works for me. unicorn:~$ echo ~: /home/greg: Also in POSIX mode.