On Wed, 2008-09-17 at 13:18 +0100, Stewart Anderson wrote: > How about a system(tail -x inputfile >> mylastfile) type call to > get the last line and then open the mylastfile to work on the line > there? >
The UNIX utility tail(1) still reads the entire file. -- Just my 0.00000002 million dollars worth, Shawn "Where there's duct tape, there's hope." Cross Time Cafe "Perl is the duct tape of the Internet." Hassan Schroeder, Sun's first webmaster -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/