blob: 6d9ccb6cc144bdfc85328cf1bde789dce617557d [file] [log] [blame]
foo () {
cat <<EOF && { echo "$1" ; }
$1
EOF
}
foo "bar"