#!/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