mirror of
https://git.busybox.net/busybox
synced 2026-02-15 22:16:09 +00:00
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>
7 lines
58 B
Text
Executable file
7 lines
58 B
Text
Executable file
foo () {
|
|
cat <<EOF && { echo "$1" ; }
|
|
$1
|
|
EOF
|
|
}
|
|
|
|
foo "bar"
|