heredoc2.tests 58 B

1234567
  1. foo () {
  2. cat <<EOF && { echo "$1" ; }
  3. $1
  4. EOF
  5. }
  6. foo "bar"