> Here is a PERL way to do it: > > #!/usr/bin/perl > open(FILE, "filename"); > while($line = <FILE>) #grabs one line at a time until you get to eof Gad, I hate perl. Try bash: while read line do process $line done < filename -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.
- reading file line-by-line Niclas Domack
- Re: reading file line-by-lin... redhat
- Re: reading file line-by... Dave Wreski
- Re: reading file line-by-lin... Rick L. Mantooth
- Re: reading file line-by... kgibson
- Re: reading file lin... Paul F Almquist
- Re: reading file line-by-lin... Earle R Nietzel UNISYS