Re: Proposed new POSIX sh policy
Mike Hommey <firstname.lastname@example.org> writes:
> Russ Allbery <email@example.com> wrote:
>> + <item>the <tt>-a</tt> and <tt>-o</tt> <tt>test</tt> operators
>> + must be supported</item>
> Why is that needed ?
It's in widespread use in both Debian scripts and in upstream scripts.
When we tried to warn about this behavior in lintian, it turned up
hundreds of packages and we got a lot of objections to the check on the
grounds that dash supports this construct and the only shell that doesn't
is posh. It seemed like the general consensus was that requiring that all
those scripts be modified to require bash was more trouble than it was
Russ Allbery (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>