On Fri, Apr 09, 2010 at 09:26:02AM +0100, Geoff Clare wrote:
> Herbert Xu <herb...@gondor.hengli.com.au> wrote, on 09 Apr 2010:
> >
> > While we're on this topic, what is the correct output for
> > 
> >     X=a Y=${X=b} Z=$X sh -c 'echo $Z'
> My reading of the standard is that this should output "b"
> (assuming X is unset beforehand).  But, as I mentioned earlier in
> the thread, this is a strict reading and might not be what was
> intended.

Thank you for your clarifications.

These four patches should help bring dash in-line with the POSIX

Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herb...@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to