12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- cat << EOF1 << EOF2
- hi
- EOF1
- there
- EOF2
- while read line1; do
- read line2 <&3
- echo $line1 - $line2
- done <<EOF1 3<<EOF2
- one
- two
- three
- EOF1
- alpha
- beta
- gamma
- EOF2
- a=foo
- cat << 'EOF'
- hi\
- there$a
- stuff
- EOF
- cat << 'EOF'
- hi\
- there
- EO\
- F
- EOF
- true
- cat << EO\
- F
- hi
- EOF
- cat <<- EOF
- tab 1
- tab 2
- tab 3
- EOF
- rm -f /tmp/bash-zzz
- cat > /tmp/bash-zzz << EOF
- abc
- EOF
- cat >> /tmp/bash-zzz << EOF
- def ghi
- jkl mno
- EOF
- cat /tmp/bash-zzz
- rm -f /tmp/bash-zzz
- fff()
- {
- ed /tmp/foo <<ENDOFINPUT >/dev/null
- /^name/d
- w
- q
- ENDOFINPUT
- aa=1
- }
- type fff
- cat << EOF
- hi
- there
|