[rhelv6-beta-list] My first experiences with RHEL6 beta

John McNulty johnmcn1 at googlemail.com
Thu Jun 17 07:53:04 UTC 2010


On 17 June 2010 06:49, Bryan J. Smith <b.j.smith at ieee.org> wrote:

Nico Kadel-Garcia <nkadel at gmail.com> wrote:
>
> Yeah. I'm a big believer in setting "LANG=C" or "LANG=POSIX" by
> > default. This makes old man pages work better, and fixes
> > the case-insensitive "sort" problem, unlike the RHEL standard
> > "en_US.UTF8". What fool decided that standard should be
> > case insensitive, I'd like to know?
>
> [...]
>
> Sometimes it's just best to follow the upstream standard, and
> not try to do otherwise, especially when it is very trusted.
>

But sometimes it's not the easiest thing to trust upstream to do what's
right when bugs that affect all distros go unfixed for years.  e.g.

[john at dsv03-pv1 ~]$ echo $LANG
en_GB.UTF-8
[john at dsv03-pv1 ~]$ time grep '^....' /usr/share/dict/words >/dev/null

real 9m29.275s
user 9m29.055s
sys 0m0.043s

And it pegs my CPU at 100%.   Compare this to...

[john at dsv03-pv1 ~]$ export LANG=C
[john at dsv03-pv1 ~]$ time grep '^....' /usr/share/dict/words >/dev/null

real 0m0.116s
user 0m0.107s
sys 0m0.006s


This little gem has been hanging around since 2005 (
http://savannah.gnu.org/bugs/?14472)

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhelv6-beta-list/attachments/20100617/22c468ea/attachment.htm>


More information about the rhelv6-beta-list mailing list