...
Code Block | ||
---|---|---|
| ||
lineNo=0 while IFS= read line; do echo "Line $lineNo: '$line'" lineNo=$(( lineNo + 1 )) echo "Line $lineNo: '$line'" done < sampleinfo.txt echo -e "\nRead $lineNo lines" |
...
...
Code Block | ||
---|---|---|
| ||
lineNo=0 while IFS= read line; do echo "Line $lineNo: '$line'" lineNo=$(( lineNo + 1 )) echo "Line $lineNo: '$line'" done < sampleinfo.txt echo -e "\nRead $lineNo lines" |
...