Re: /bin/sh == bash?
Selon David Weinehall <firstname.lastname@example.org>:
> On Fri, Aug 06, 2004 at 10:14:55PM +0200, Jérôme Marant wrote:
> > Selon Roland Stigge <email@example.com>:
> > > Hi,
> > >
> > > I recently encountered some packages (e.g.
> > > fhist: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=263997
> > > userv: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=263979
> > > ) that FTBFS when /bin/sh is not bash, but instead a more POSIX like
> > > shell, e.g. dash. See also Policy, 10.4. Scripts.
> Note that even if things work with dash, it doesn't really say too much
> about POSIX (and hence policy 10.4) compliance, dash has quite a lot of
> extensions. posh is probably the closest thing to POSIX we have in
> Debian. It'll cause quite a lot of scripts to fail though, since it
> doesn't support `command -v', which is something we even recommend in
> policy. Imho `command -v' should be explicitly added to Policy 10.4,
> alongside the extension we already have there, `echo -n'.
After rereading 10.4, it is clear that POSIX compliance is not mandatory