dollar handling in here document
Timo Teras
timo.teras at iki.fi
Sun Apr 3 16:54:23 UTC 2016
Hi
Not sure if this is bug or not. But at least bash works different here:
$ busybox sh a.sh
''
$ bash a.sh
'$'
$ cat a.sh
cat <<EOF
'$'
EOF
Found this in gettext autoconfigury test that broke the build when bash
was not installed. I think test itself is broke and should've used
literal here documents (<<'EOF') in the first place. But just wanted to
check if this is bug or not.
Thanks,
Timo
More information about the busybox
mailing list