mirror of https://github.com/mirror/busybox.git
This used to work but doesn't now:
foo () {
cat <<EOF && { echo "$1" ; }
$1
EOF
}
foo "bar"
Reported-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
heredoc.right | ||
heredoc.tests | ||
heredoc1.right | ||
heredoc1.tests | ||
heredoc2.right | ||
heredoc2.tests | ||
heredoc3.right | ||
heredoc3.tests |