Alternative to echo "$VAR"
COMMAND <<< $VAR
Any characters or symbols without escape
'
or"
quotes for starting'EOF'
= no$variable
expansion inside- omit the quotes allows
$varisble
inside and literal$
must be escaped - ending
EOF
must has neither space nor any other characters
var=$( cat << 'EOF'
any characters or symbols without escaping
@#$&*()'"%-+=/;:!?€£¥_^[]{}§|~\\<>
EOF
)
echo "$var"
cat << EOF > /path/file
any characters or symbols without escaping
@#$&*()'"%-+=/;:!?€£¥_^[]{}§|~\\<>
EOF
VAR=$( < $FILE )
Pipe stdout of multiple commands