bug#15278: -a vs -e

2018-10-28 Thread Assaf Gordon
tags 15278 fixed forcemerge 33097 15278 close 15278 stop (triaging old bugs) On 2013-09-05 10:45 a.m., Eric Blake wrote: [...] Coreutils therefore should fix its test to favor binary -a over unary -a, when there are three arguments and the first is !. Just last week Bernhard committed

bug#15278: -a vs -e

2013-09-05 Thread Eric Blake
[moving to the coreutils list, as coreutils has a bug here] On 09/05/2013 10:33 AM, Eric Blake wrote: On 09/04/2013 11:06 PM, kneuf...@gmail.com wrote: According to the man page, [ -a ] and [ -e ] should have the same behaviour. Not a bug. -a behaves like -e only when it is unambiguously

bug#15278: -a vs -e

2013-09-05 Thread Chet Ramey
-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