The standard answer is to use leading tabs (and they should be tabs, not spaces) and -before the word:
cat <<-'EOF'
Tab-indented text
Blank-indented text
EOF
Which (if you have one or more actual tabs before "Tab-indented") will be output:
Tab-indented text
Blank-indented text
, sed cat:
sed 's/^[ ]*//' <<EOF
Randomly
Indented
Text
EOF
:
Randomly
Indented
Text
( , , , sed. sed 's/^[[:space:]]*//', .)
, 'EOF' vs EOF , ( ). :
cat <<-EOF
$(rm -fr *) # Do not try this at home! (Or at work.)
$HOME
EOF
cat <<-'EOF'
$(rm -fr *)
$HOME
EOF
$(...) () . , -! , . script verbatim - , , $(rm -fr *), ! $HOME ; .