I am trying to figure out what is the usage of this command:
echo < a.txt
According to text book it should redirect a programs standards input. Now I am redirecting a.txt to echo but instead of printing the content of the file it is printing out one empty line!
Appreciate if anyone display this behaviour.
echo footo output "foo" butecho(empty variable, no value) to just wait for user input through stdin? That'll probably break like a half of existing scripts.