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

Re: OT: perl vs shell cmd



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 mattdm org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 80 degrees Fahrenheit.


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