News

New paper!

Tuesday, March 6, 2018

Bash: deal with each line in a file with while loop

Example: show each line in a file called 'filename'

$ while read -r line
do
    echo $line
done < filename