cc: [email protected]
Subject: Re: [ast-users]  [ksh93] Should ~$user be tilde expanded?
--------


> I think bash behavior is correct according to
> http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_
> 06which
> says tilde expansion should be done before parameter expansion.
> 

Where do you see that?  In section 2.6, it says

"Tilde expansion (see Tilde Expansion), parameter expansion (see Parameter
Expansion), command substitution (see Command Substitution), and arithmetic
expansion (see Arithmetic Expansion) shall be performed, beginning to end.
See item 5 in Token Recognition.

which implies that these should be simultaneously from beginning to end.

David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to