pmacs3/code_examples/awful.sh

23 lines
251 B
Bash
Raw Permalink Normal View History

2008-04-21 18:54:42 -04:00
#!/bin/sh
FOO="33"
echo FOO $FOO
#cat <<EOF <<EOF2
#this is the first heredoc
#ugh
#EOF2
#this is the second heredoc
#blech
#EOF
cat <<EOF && cat <<EOF2
this is the first heredoc
blech
EOF
this is the second heredoc
ugh
EOF2
BAR="22"
echo BAR $BAR