Re: bashisems in maintainer scripts.
Bernd S. Brentrup wrote:
> On Tue, Mar 02, 2004 at 01:47:36PM +0100, Martin Albert wrote:
> > On Tuesday 02 March 2004 07:12, Matthew Palmer wrote:
> > > On Mon, Mar 01, 2004 at 09:18:53PM -0800, Mike Mestnik wrote:
> > > > This has happend more than once, but it's not a huge problem.
> > > > However bash should be extended to, be able to, warn about the most
> > > > common compatibility problems. Every one would benifit from this.
> > >
> > > That would be most productive put to the upstream bash developers.
> > > There are currently checks in lintian (I presume linda has similar
> > > checks) to find at least some common bashisms used in maintainer
> > > scripts.
> > First of all is a POSIX sh documentation missing in Debian, ideally
> > referenced from policy or developers-reference.
> I didn't check but doubt POSIX 1003.* is DFSG-free.
> Why not test maintainer scripts in a chroot with /bin/sh -> dash?
Is dash guaranteed to be POSIX 1003.* conforming?