busybox/shell/hush_test/hush-heredoc/heredoc2.tests
Denys Vlasenko 1b73f8471a sh testsuite: create hush-heredoc/* and move files around
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-10-02 17:49:46 +02:00

8 lines
58 B
Plaintext
Executable File

foo () {
cat <<EOF && { echo "$1" ; }
$1
EOF
}
foo "bar"