-----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_chap02.html#tag_18_09_01
True. Bash has always behaved like this. It's not clear what practical consequences it has, other than being technically non-standard, since redirections do not have access to variables set in the temporary environment. Chet - -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDzLS0ACgkQu1hp8GTqdKvXRwCfXJGfg0CSyvDq1KUk9QoB51Um MbAAn1Jd0sWJMXS6po9C4YwVDlL/fgbM =LHC8 -----END PGP SIGNATURE-----