I have a 2 files: test and input1. The following is my "test" file:
echo $1 $2
Changing the output works as when I write in the terminal:
./test foo bar > input1
the string "foo bar" is written to input1. Yet, when I write in the terminal:
./test < input1
all that is printed in the terminal is a skipped line.
Any ideas why "foo bar" is not getting printed to the terminal?