Re: Count lines in a textfile
Re: Count lines in a textfile
- Subject: Re: Count lines in a textfile
- From: Martin Orpen <email@hidden>
- Date: Fri, 17 Sep 2004 13:27:27 +0100
on 17/9/04 2:07 am, Christopher Nebel at email@hidden wrote:
> "sed -n '$='" is equivalent to "wc -l".
I reckon that wc is faster.
I just checked a server log with 1464675 lines and wc takes 9 seconds and
sed 14 seconds.
Regards
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden