I'm new to bash so this should be pretty basic but I can't find it so far.
I am going to have an input
cat input_file | sh_file.sh output_file
I want to get the information from the
input_file so that I can use the
sh_file.sh to pass it on to a python file and do some manipulation and output it from python.
I know that if it was set up like
sh_file.sh input_file output_file
I could just use
output_file=$2 and pass those through to my python file but with the pipe I don't know how to store it in a variable.