[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
${var:+"quo ted"} and similar, inside unquoted here-docs
From: |
Ralf Wildenhues |
Subject: |
${var:+"quo ted"} and similar, inside unquoted here-docs |
Date: |
Sun, 29 Aug 2010 16:48:34 +0200 |
User-agent: |
Mutt/1.5.20 (2010-04-22) |
With Solaris 10 sh (and others):
cat <<EOF
${var-"quo ted"}
EOF
"quo ted"
Whereas with bash (and others):
quo ted
This shows up in some of the log files in the "Configuring libtool" line:
http://autobuild.josefsson.org/libtool/log-201008291316239205000.txt
Eric, did you have this in your recent autoconf.texi additions already?
It can be a problem for all of the stuff that gets expanded into here
documents.
Thanks,
Ralf
- ${var:+"quo ted"} and similar, inside unquoted here-docs,
Ralf Wildenhues <=