2 while read loops?

后端 未结 4 641
孤独总比滥情好
孤独总比滥情好 2020-12-20 00:49

So the object of the script I\'m making is to compare files from two while read lists that have file path names in them...

while read compareFile <&3;         


        
4条回答
  •  北海茫月
    2020-12-20 01:32

    if I understand you correctly...yes. Here's an example of looping through two files in lock-step

    exec 3&- 4>&-
    

提交回复
热议问题