Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16601

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

From "M. Nejat AYDIN" <mnaydin@yahoo.com>
Newsgroups gnu.bash.bug
Subject Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode
Date 2020-07-21 16:36 +0300
Message-ID <mailman.285.1595338610.24492.bug-bash@gnu.org> (permalink)
References (3 earlier) <20200721114844.GQ22833@eeg.ccf.org> <5098cfe1-6de1-b22d-d8e9-a26ba0b3b991@yahoo.com> <20200721123005.GS22833@eeg.ccf.org> <0f088c7c-ce5d-cf25-cfcf-150cd16122b0@yahoo.com> <a36d5a7b-5d95-48b0-0edd-12d542f199d9@yahoo.com>

Show all headers | View raw


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.

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode "M. Nejat AYDIN" <mnaydin@yahoo.com> - 2020-07-21 16:36 +0300

csiph-web