From: Richard Hansen Date: Tue, 12 Nov 2013 05:34:16 GMT Subject: Re: [PATCH 5/7] test-hg.sh: avoid obsolete 'test' syntax Message-ID: <5281BDD8.6040501@bbn.com> In-Reply-To: <5280c31919c9_6841541e7851@nysa.notmuch> 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 -Richard