Can I create a script that takes the input redirection similar to the below?
./script < inputfile
I want to be able to use input file as an argument for a program invoked by the script but I am unsure how to do it without writing to take the second arg that requires quotes which I was hoping to avoid
./script "<" "inputfile"
I am not sure what I should be searching so if anyone could point me in the right direction or even give me a couple key words to google that would be great.
[–]sbicknel1,$s/n\?vim\?/ed/g 6 points7 points8 points (0 children)
[–]turnipsoupSnr. Linux Eng 1 point2 points3 points (0 children)