Re: Proposed new POSIX sh policy (was: First draft of review of policy must usage)
On Sun, Nov 05, 2006 at 07:41:40PM -0800, Russ Allbery wrote:
> Russ Allbery <rra@debian.org> writes:
> > Manoj Srivastava <srivasta@debian.org> writes:
>
> >> This flows from the Release policy. Not specifying /bin/bash
> >> in scripts is not considered a RC bug.
>
> > I can try to propose better language for this. I think that using pure
> > bash-specific constructs not found in dash in /bin/sh scripts should
> > actually be an RC bug, but using test -a or test -o should not. I think
> > we need to say that /bin/sh scripts are permitted to use POSIX shell
> > capabilities plus a short list of additional capabilities that
> > everything other than posh also implement.
>
> Here's a proposed patch. What do people think about this approach?
[...]
It looks good to me. Perhaps it would be nice if the policy would
mention that "the use of non-POSIX constructs should be avoided if
possible", but I don't think it's important either way.
--
<Lo-lan-do> Home is where you have to wash the dishes.
-- #debian-devel, Freenode, 2004-09-22
Reply to: