BashSyntax
Here Document
Code example
cat <<EOF
line one
line two
EOFFeeds multi-line text into a command.
In Bash, here document: feeds multi-line text into a command — cat <<EOF line one line two EOF
cat <<EOF
line one
line two
EOFcat <<EOF
line one
line two
EOFFeeds multi-line text into a command.
Use cat <<EOF line one line two EOF.
Use this pattern: cat <<EOF line one line two EOF
Yes. Use Copy code and adapt the example to your program.
No. The language syntax is the same across operating systems.