Decklin Foster <[EMAIL PROTECTED]> wrote: > (I'm not sure where to send this, but it's of interest for making > packages containing shell scripts policy-compliant, which I'm currently > trying to do, so...) > > bash and dash differ in their handling of variable assignments. To wit: > > bash$ FOO=$(false) || echo failed > failed > > dash$ FOO=$(false) && echo worked > worked
This is definitely a (recent) bug in dash. -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

