Mr. Shawn H. Corey wrote:
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.
The tail on my Kubuntu system doesn't, at least according to strace.
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/