msgbartop
Tips, notes, HOWTOs
msgbarbottom

15 Jan 09 Process A File Line By Line In A Script

There are multiple ways to skin this cat.  For now one of the simplest.

#!/bin/sh

while read LINE
do
...DO SOME STUFF WITH THE ${LINE}...
done <somefile.txt

Replace “somefile.txt” with the file you want to process.

Tags: , , , ,

SEO Powered by Platinum SEO from Techblissonline