#!/bin/bash

MSG1="HELLO WORLD.(test1)"
MSG2="HELLO WORLD.(test2)"
MSG3="HELLO WORLD.(test3)"

echo "here document test 1."
cat << EOT
<HTML>
<BODY>
$MSG1
</BODY>
</HTML>
EOT

echo "here document test 2."
cat << 'EOT'
<html>
<body>
$MSG2
</body>
</html>
EOT

echo "here document test 3."
cat << "EOT"
<html>
<body>
$MSG3
</body>
</html>
EOT
