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

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

Re: grep


From: John.Cowan
Subject: Re: grep
Date: Fri, 28 Oct 2005 00:19:49 -0400
User-agent: Mutt/1.4.2.1i

Bern Spence (bspence) scripsit:
> 
> We recently moved an application from Solaris to Red Hat Linux.
> 
> A grep command that used to take about 5 minutes on a large file
> is now taking about 90 minutes. 
> 
> grep -E  "BIND| RESULT" /opt/sysldap/tmp/LdapLogProces
> 
> Is this slowness a known problem and is there a work around?

Set the environment variable LC_ALL to "C".  Your problem is that
you are using the default Red Hat localization setting, which is causing
grep to work in UTF-8.

-- 
Mos Eisley spaceport.  You will never           John Cowan
see a more wretched hive of scum and            address@hidden
villainy -- unless you watch the                http://www.ccil.org/~cowan
Jerry Springer Show.   --georgettesworld.com    http://www.reutershealth.com




reply via email to

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