snippet readline "Read a file line by line" b
while ${1:IFS='' }read -r ${2:line} || [[ -n "$$2" ]]; do
${0:echo "Text read from file: $$2"}
snippet readline "Read a file line by line" b
while ${1:IFS='' }read -r ${2:line} || [[ -n "$$2" ]]; do
${0:echo "Text read from file: $$2"}