bash does not seem to complain if you run a command like
$ < some-file-that-exists
Nothing seems to happen.
You could also use
$ <<<"any string"
and even process substitution.
So what exactly does this do, and why is it allowed. Could it be useful for anything?
<will give you an error (zsh: parse error near `\n') as no argument is given. – math Apr 11 '12 at 13:36bash, but that is interesting aboutless. – Explosion Pills Apr 11 '12 at 13:53