> 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.

Reply via email to