-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/5/13 12:45 PM, Eric Blake wrote:
> The POSIX wording states for 3-argument tests > (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html): > > ? If $2 is a binary primary, perform the binary test of $1 and $3. > ? If $1 is ?!?, negate the two-argument test of $2 and $3. > ? If $1 is ?(? and $3 is ?)?, perform the unary test of $2. > > The first two bullets both apply to your situation, but it can be > assumed that the ordering of the bullets is significant. Bash assumes that the order of the bullet points in the Posix description of `test' implies prioritization. - -- ``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.11 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlIo3HMACgkQu1hp8GTqdKs9ygCfRp7ouDNHqgi0/7wGQLOOBa34 JWIAmwTKHIgeM0pCYAGP56x55dsmSo0L =xMCV -----END PGP SIGNATURE-----