A “here document” is a method for specifying a multi-line string literal in many programming languages. Here are some examples:
Perl
1 2 3 4 5 |
print <<"END"; MULTIPLE LINES OF TEXT HERE END |
PHP
1 2 3 4 5 |
echo <<<EOF MULTIPLE LINES OF TEXT HERE EOF; |
Bash
1 2 3 4 5 |
cat <<EOF MULTIPLE LINES OF TEXT HERE EOF |