Re: [PATCH 5/7] test-hg.sh: avoid obsolete 'test' syntax
On 2013-11-11 06:44, Felipe Contreras wrote:
Show 6 quoted lines
> 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