Re: POSIX shell clarification

2002-12-22 Thread Herbert Xu
On Sun, Dec 22, 2002 at 07:34:03PM -0500, Decklin Foster wrote: > > Thanks. Could you point me to where the correct behavior is specified? Penultimate sentence before section 2.9.1.1. -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Hom

Re: POSIX shell clarification

2002-12-22 Thread Decklin Foster
Herbert Xu writes: > > dash$ FOO=$(false) && echo worked > > worked > > This is definitely a (recent) bug in dash. Thanks. Could you point me to where the correct behavior is specified? -- things change. [EMAIL PROTECTED]

Re: POSIX shell clarification

2002-12-22 Thread Herbert Xu
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

POSIX shell clarification

2002-12-22 Thread Decklin Foster
(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)