bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reverse redirection / assignment order


From: Chet Ramey
Subject: Re: Reverse redirection / assignment order
Date: Sun, 13 Jan 2013 16:54:59 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0

-----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    address@hidden    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-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]