Re: tailing a text file

2003-01-08 Thread zentara
On Tue, 7 Jan 2003 04:23:22 -0800 (PST), [EMAIL PROTECTED] (Admin-Stress) wrote: >Hi, > >Anyone have the fastest and efficien way to tail a text file ? > >suppose I have a text file "example.txt" and I want to print the last X lines. > Well there are alot of "ifs" to consider. How big the file is

RE: tailing a text file

2003-01-07 Thread wiggins
One way is answered in the FAQ, don't know if it is the most efficient. perldoc -q 'tail' http://danconia.org On Tue, 7 Jan 2003 04:23:22 -0800 (PST), Admin-Stress <[EMAIL PROTECTED]> wrote: > Hi, > > Anyone have the fastest and efficien way to

Re: tailing a text file

2003-01-07 Thread Tanton Gibbs
If you want it continually updated you might try File::Tail http://search.cpan.org/author/MGRABNAR/File-Tail-0.98/Tail.pm otherwise, use File::ReadBackwards http://search.cpan.org/author/URI/File-ReadBackwards-0.99/ReadBackwards.pm Tanton - Original Message - From: "Admin-Stress" <[EMAIL