Hi,

in the context of https://bugzilla.mozilla.org/show_bug.cgi?id=781461
i've stumbled upon the following issue:
(our pdksh)

$cat <<EOF
> echo ${FOO:+'blah'aa}
> EOF
echo blahaa

bash-4.2# FOO=1
bash-4.2# cat <<EOF
>  echo ${FOO:+'blah'aa}
> EOF
 echo 'blah'aa

Apparently the ksh from solaris, hpux and debian don't strip the quotes
in that usecase, and none of the other shells do (bash, dash, zsh...)

So maybe it can be considered as a bug in our pdksh..

Landry

Reply via email to