-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Scott Moser on 10/30/2007 7:12 AM:
> #===== test.sh =====
> x=$(cat <<"EOF"
> bad' syntax
> EOF
> )

>
> So, I'm not 100% certain what the "correct" behavior is, but it
> certainly seems like this should work.

POSIX requires this to work when inside $(), but leaves it unspecified
when inside ``.  Yes, all released versions of bash are buggy when it
comes to 100% compliance to the POSIX rules for $() parsing (and more
annoyingly, with different bugs as you move from 3.1 to 3.2).

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHJ9Mh84KuGfSFAYARAppMAKCWFzg82nmRlT7We25GyH0q/egI0wCZASdj
gw94rDf1y2VM5e7JmkwqiJU=
=GwLt
-----END PGP SIGNATURE-----


Reply via email to