mirror of
https://git.busybox.net/busybox
synced 2025-05-10 04:33:59 +02: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"
|