Sunday, July 12, 2020

How to loop through each line in a file with BASH

cat some-list | while read line
do
  echo $line
done > result

0 comments:

Post a Comment