bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: [grep] about 200 times slower than Sed or Perl


From: Jim Meyering
Subject: Re: [grep] about 200 times slower than Sed or Perl
Date: Fri, 12 Mar 2004 16:44:59 +0100

"Eli Zaretskii" <address@hidden> wrote:
>> Date: Tue, 9 Mar 2004 11:44:47 +0100
>> From: Eduard Bloch <address@hidden>
>>
>> today I tried to weed out some useles lines from a large log file and
>> was amazed to see that the current grep versions (and fgrep) are
>> slow like hell.
>
> Thanks for publishing the results, but please give more information so
> that others could look into the possible reasons of this.  Versions of
> Grep, Perl, and Sed you used, as well as the size of the kern.log file
> would be most useful.

Please include the output of the `locale' command, too.
If you're not using the `C' locale, then you might want to
try that as well.

  env LC_ALL=c grep ...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]