Re: OT: perl vs shell cmd

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

 



On Tue, Jun 14, 2005 at 10:52:55AM -0300, Ben Steeves 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.

Especially if you set LANG=C first (if you can).

-- 
Matthew Miller           mattdm@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 80 degrees Fahrenheit.


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

  Powered by Linux