I was under the impression that this:
cat <<- TEXT
Hello
there
TEXT
was supposed to work and would output:
Hello
there
Instead, it seems to be ignoring the end delimiter. Even doing this:
cat <<- TEXT
Hello
there
TEXT
Result in:
Hello
there
with the leading whitespace still there. Am I doing something wrong or is this a bug?
This question is different from the others because although they do answer the question, they don't answer it directly. I would be better off going to the man page and reread it until I find the part that I missed.