|
From: | M. Nejat AYDIN |
Subject: | Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode |
Date: | Tue, 21 Jul 2020 15:14:59 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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 ~: /home/greg: Also in POSIX mode.
Oops, I've misstated. I think the tilde in $ echo ~: shouldn't have been expanded and should have been printed verbatim: ~:
[Prev in Thread] | Current Thread | [Next in Thread] |