Re: [PATCH 5/7] test-hg.sh: avoid obsolete 'test' syntax
Show 11 quoted lines
> 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