|
From: | M. Nejat AYDIN |
Subject: | Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode |
Date: | Tue, 21 Jul 2020 16:36:36 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 7/21/20 4:00 PM, M. Nejat AYDIN wrote:
On 7/21/20 3:30 PM, Greg Wooledge wrote:I have no objection to bash's decision here. I actually find it less surprising than dash's decision, although both are rational ones.I think dash is complying with POSIX here.
I've overlooked this sentence from POSIX: If the system does not recognize the login name, the results are undefined. It seems the behaviour is undefined according to POSIX, so both decisions are acceptable.
[Prev in Thread] | Current Thread | [Next in Thread] |