in reply to Estimate line count in text file

Why not use -s to find the file size then use tell from time to time to determine how far through you are and make a time remaining estimate from that?


Perl is environmentally friendly - it saves trees

Replies are listed 'Best First'.
Re^2: Estimate line count in text file
by xaprb (Scribe) on Jul 18, 2008 at 13:16 UTC
    That's a great idea!