I have a python script called x, I also have a text file. how do i create a bash script to execute the command based on the line? for example: script name x text name test
i want the bash script to select each line and do:
python x.py $line >>log.txt
then go to the next line and do
python x.py $line2 >>log.txt
an so on