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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…