-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Lev Bishop on 7/7/2005 9:50 PM: >>bash$ echo `echo '${'` >> > > Actually, this is a bad example, because even if bash did parse > correctly, there would be still an incomplete ${ substitution for the > outer echo
No, because by POSIX XCU 2.6.3, "The results of command substitution shall not be processed for further tilde expansion, parameter expansion, command substitution, or arithmetic expansion." So the outer echo should behave the same as if it had been invoked "echo \$\{", and print ${. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCzfrL84KuGfSFAYARAmUpAKCh6SghuCkq2OPcoTFNKPhNj/RbGACaAiCe N1fN/ETfifOPEWPWfsFfIgg= =+F+l -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/