Ravi Sir's Cards › AWS
<<EOF vs <<<
This comparison card contrasts <<EOF and <<<. <<EOF is described as many lines. <<<: One string. The card pairs <<EOF with configs, SQL, and <<< with quick input.
Read card text
What this card says
Input
<<EOF
Many lines.
<<<
One string.
Key points
Ends at EOF line.
Ends at the word.
Example
cat <<'EOF'
Use when
Configs, SQL.
Quick input.