Hello everyone I'm very new to the game so my question is probably rather simple but I'm stuck at this for a long time. I want to process two files from two list of files simultaneously line by line.
I'm trying currently:
read file1 && read file2;
do
echo "$file1 and $file2"
done
The echo is of course just a spaceholder for the rest of the script but i didn't manage to get any variables out of the read operation.