heredoc9.tests 104 B

123456789
  1. echo hello >greeting
  2. cat <<EOF &&
  3. $(cat greeting)
  4. EOF
  5. {
  6. echo $?
  7. cat greeting
  8. } >/dev/null
  9. rm greeting