mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
9121510dc6
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>
8 lines
58 B
Plaintext
Executable File
8 lines
58 B
Plaintext
Executable File
foo () {
|
|
cat <<EOF && { echo "$1" ; }
|
|
$1
|
|
EOF
|
|
}
|
|
|
|
foo "bar"
|