News for hackers. Stuff that matters.
Re:Bash redirections cheat sheet by allstruck on Monday September 10, 2012 @04:40PM (#4502125)
What is so mystifying about this?

Doing this:

"cat << EOL

line one

line two

EOL"

Would be the same as this:

"cat < file"

That is if 'file' contained this:

"line one

line two"

This doesn't work with the echo command because it does not use stdin like cat does.

There are no comments on this comment yet.