I guess it is a bug. I tried with "$" that works for me. Adding \ in front of $ makes it work again.
note about the here document: http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_07_04 It does not mention the single quotes directly. re, wh Am 03.04.2016 18:54, schrieb Timo Teras: > 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 > _______________________________________________ > busybox mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/busybox > _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
