pieces of bash code¶ read a line from a file and do something¶ while read -r line ; do echo $line ; done < filename