Re: Short list of issues with various expansions and IFS

2013-01-13 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/9/13 2:46 PM, Dan Douglas wrote: > I'll lump a few issues together here... > > 1. Backslash escape adjacent to "$@" expansion separates words. Yes, this is a bug. I will fix it for the next version. > $ set -- abc def ghi; printf '<%s> '

Re: Reverse redirection / assignment order

2013-01-13 Thread Dan Douglas
On Sunday, January 13, 2013 04:54:59 PM Chet Ramey wrote: > On 1/9/13 2:00 PM, Dan Douglas wrote: > > When expanding simple commands, steps 3 and 4 are reversed unconditionally > > for > > all command types and number of words expanded, even in POSIX mode. > > http://pubs.opengroup.org/onlinepubs/

Re: Reverse redirection / assignment order

2013-01-13 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/9/13 2:00 PM, Dan Douglas wrote: > When expanding simple commands, steps 3 and 4 are reversed unconditionally for > all command types and number of words expanded, even in POSIX mode. > http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_