Ravi Sir's Cards › AWS
<<EOF vs <<'EOF'?
This interview card answers: <<EOF vs <<'EOF'? Unquoted expands $vars. Quoted keeps text exact. <<- strips leading tabs.
Read card text
What this card says
What it is
Unquoted expands $vars.
Why it matters
Quoted keeps text exact.
How / example
<<- strips leading tabs.