[user@freegtw ~]$ cat bashtest
#!/usr/local/bin/bash
echo <<<"EOF"
line1
line2
line3
EOF
[user@freegtw ~]$ ./bashtest
./bashtest: line 3: line1: command not found
./bashtest: line 4: line2: command not found
./bashtest: line 5: line3: command not found
./bashtest: line 6: EOF: command not found
[user@freegtw ~]$ cat bashtest
#!/usr/local/bin/bash
cat <<<"EOF"
line1
line2
line3
EOF
[user@freegtw ~]$ ./bashtest
EOF
./bashtest: line 3: line1: command not found
./bashtest: line 4: line2: command not found
./bashtest: line 5: line3: command not found
./bashtest: line 6: EOF: command not found