On 08/30/2010 08:57 AM, Eric Blake wrote:
[adding bug-bash]
On 08/29/2010 08:48 AM, Ralf Wildenhues wrote:
With Solaris 10 sh (and others):

cat<<EOF
${var-"quo ted"}
EOF

"quo ted"

Whereas with bash (and others):

quo ted

Ouch. New one to me. ksh, zsh, and dash do not echo the quotes, so I'm
thinking it may be a bash bug; hence the cc.

Sorry about that; I read my results wrong. bash is consistent with everyone else, and only /bin/sh was the outlier. No bug in bash, after all.

--
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to