This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
From: mattdm@mattdm.org (Matthew Miller) Newsgroups: linux.redhat.misc Subject: Re: What's happened to grep? Date: 18 Feb 2003 18:47:28 GMT Ryan R. Frederick <bob@k7hosting.com_> wrote: >> Is it just my imagination or has grep become >> incredibly slow with Redhat 8? >It's just your imagination... grep works fine for me. Actually, it's not necessarily his imagination. It's much much slower in UTF-8 mode, which RHL 8 uses by default. # export LANG=C # time grep foobar lastlog > /dev/null 2>&1 real 0m0.617s user 0m0.340s sys 0m0.230s # export LANG=en_US.UTF-8 # time grep foobar lastlog > /dev/null 2>&1 real 0m4.704s user 0m4.370s sys 0m0.280s === From: Ivan Marsh <annoyed@you.now> Newsgroups: linux.redhat.misc Subject: Re: What's happened to grep? Date: Tue, 18 Feb 2003 14:54:12 -0600 Matthew Miller wrote: > Ryan R. Frederick <bob@k7hosting.com_> wrote: >>> Is it just my imagination or has grep become >>> incredibly slow with Redhat 8? >>It's just your imagination... grep works fine for me. > > Actually, it's not necessarily his imagination. It's much much slower in > UTF-8 mode, which RHL 8 uses by default. > What is UTF-8 mode anyway? It's one of the first things I changed about my RH8 box since nothing was displaying correctly. What is it supposed to buy you to be running it? === From: mattdm@mattdm.org (Matthew Miller) Newsgroups: linux.redhat.misc Subject: Re: What's happened to grep? Date: 18 Feb 2003 21:20:39 GMT Ivan Marsh <annoyed@you.now> wrote: >What is UTF-8 mode anyway? It's one of the first things I changed about my >RH8 box since nothing was displaying correctly. What is it supposed to buy >you to be running it? <http://www.cl.cam.ac.uk/~mgk25/unicode.html> In short -- lets you use international characters in a sane way. === From: "Taso Hatzi" <TASO@ESANDSpadpadpadpad.COM> Newsgroups: linux.redhat.misc Subject: Re: What's happened to grep? Date: Wed, 19 Feb 2003 20:03:57 +1100 Matthew Miller wrote: > Ryan R. Frederick <bob@k7hosting.com_> wrote: >>> Is it just my imagination or has grep become >>> incredibly slow with Redhat 8? >>It's just your imagination... grep works fine for me. > > Actually, it's not necessarily his imagination. It's much much slower in > UTF-8 mode, which RHL 8 uses by default. That was it. Got rid of UTF and grep is back to normal. What a bummer for people who need UTF. === From: X01_Coo@nada.kth.se (Robcos) Newsgroups: linux.redhat.misc Subject: Re: What's happened to grep? Date: 20 Feb 2003 04:21:20 -0800 Note that this happens with grep 2.5.1 With the old grep 2.4.2 of red hat 7.1 the problem doesn't occur. Probably it doesn't care about utf settings. ===