grep -r speed fc2 vs. rh 6.1

Tim Waugh twaugh at redhat.com
Mon Dec 20 09:13:04 UTC 2004


On Sun, Dec 19, 2004 at 05:00:49PM -0500, Gene Smith wrote:

> >Try the grep package from FC3 updates -- I think it should work okay
> >on FC2 as well.
> 
> Upgraded to grep-2.5.1-31.i386.rpm from a FC3 mirror and see no 
> improvement on my FC2 system.

That's not it: you need the package from FC3 *updates*.

> As C. Simpson suggested, setting env LC_ALL=C speeds it up so it is 
> faster than the old vectra with rh6. Is there any downside to just 
> setting "export LC_ALL=C" in ~/.bash_profile ?

Yes: grep will not sort in the same way the dictionary on your
bookshelf will.

Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041220/7ce0a2af/attachment-0001.sig>


More information about the fedora-list mailing list