From: Felipe Contreras Date: Tue, 12 Nov 2013 20:23:07 GMT Subject: Re: [PATCH 5/7] test-hg.sh: avoid obsolete 'test' syntax Message-ID: <52828e2bc5ce6_3b98795e78ab@nysa.notmuch> In-Reply-To: <5281BDD8.6040501@bbn.com> Richard Hansen wrote: > On 2013-11-11 06:44, Felipe Contreras wrote: > > Richard Hansen wrote: > >> The POSIX spec says that the '-a', '-o', and parentheses operands to > >> the 'test' utility are obsolete extensions due to the potential for > >> ambiguity. Replace '-o' with '|| test' to avoid unspecified behavior. > > > > All right, if you say so. > > In case you're curious about what the spec says: > > http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16 Thanks, I didn't know the POSIX spec was available publicly. -- Felipe Contreras