|
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:00:24 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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. If the behaviour of bash is to be preserved then the documentation should be updated, in my opinion. The current wording in www.gnu.org/software/bash/manual/html_node/Tilde-Expansion.html isn't coherent with the current behaviour, for this corner case.
[Prev in Thread] | Current Thread | [Next in Thread] |