|
From: | M. Nejat AYDIN |
Subject: | Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode |
Date: | Tue, 21 Jul 2020 10:55:06 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 7/19/20 1:04 AM, Chet Ramey wrote:
On 7/18/20 1:38 AM, Oğuz wrote:See: $ set +k -o posix $ echo foo=~:~ foo=~:/home/oguz If I'm not misreading the standard `foo=~:~' should be printed verbatim, all shells I have except bash does so.Thanks for the report. This one has been around since bash-3.1.
Also, shouldn't the tilde be expanded following $ echo ~: ? The colon terminates tilde-prefix in an assignment, but there is no assignment involved here.
[Prev in Thread] | Current Thread | [Next in Thread] |