Re: OT: perl vs shell cmd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/14/05, Dave Mitchell <davem@xxxxxxxxx> wrote:
> On Tue, Jun 14, 2005 at 01:14:16PM +0700, Beast wrote:
> > Supose I want to parse a big log file (~500MB/4mil lines), which one is
> > faster and use less memory:

My money's on the grep/pipe, since your grep pattern is quite simple.

-- 
Ben Steeves                     _                    bcs@xxxxxxxxxx
 The ASCII ribbon campaign     ( )            ben.steeves@xxxxxxxxx
   against HTML e-mail          X                GPG ID: 0xB3EBF1D9
http://www.metacon.ca/bcs      / \     Yahoo Messenger: ben_steeves


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux