On Tue, 17 Jul 2001, Jakub Jelinek wrote:
> On Mon, Jul 16, 2001 at 04:21:17PM -0500, [EMAIL PROTECTED] wrote:
> > Short answer:
> > LC_ALL=POSIX = LC_ALL=C
> >
> > Long answer from www.opengroup.org - straight copy/paste, some of their
> > punctuation didn't survive:
> >
> > POSIX Locale
> > All systems provide a POSIX locale, also known as the C locale.
> > The behaviour of standard utilities and functions in the POSIX locale is
> > as if the locale was defined via the localedef utility with input data
> > from the POSIX locale tables in Locale Definition.
> > The tables in Locale Definition describe the characteristics and
> > behaviour of the POSIX locale for data consisting entirely of characters
> > from the portable character set and the control character set.
> > For other characters, the behaviour is unspecified.
> > For C-language programs, the POSIX locale is the default locale when the
> > setlocale() function is not called. The POSIX locale can be specified by
> > assigning to the appropriate environment variables the values C or
> > POSIX.
>
> So what? Although ls is a C-language program, setlocale() function has been
> called, so I have no idea why do you think the default should be POSIX
> locale.
>
> > No doubt. However, most of the scripts I've seen puke on it aren't by
> > me. And I've yet to see any coherent reason not to have RedHat list
> > files and sort like almost every other Unix-like and UNIX system out
> > there. There really is intrinsic value in cross-platform consistency.
> > The fact that it took UNIX 20 years to learn that doesn't mean it should
> > take Linux that long.
>
> So you think it is better try to be compatible with those 20 years than with
> centuries for which native language sorting has been used?
> Also, Red Hat Linux is not the only OS transitioning to this.
> For non-English languages, I don't think you can argue what the default should be
> - most of the people really want accented letters to be sorted properly.
> For English, there is the historical argument.
> There is nothign which prevents you to create ~/.i18n (or hack
> /etc/sysconfig/i18n if you want to set it as default for all your users).
>
I also think C-langauge should be the default because it has been that way for the last
20 years. That way everyone knows where the starting point is and if you want another
language
you know each and every time what needs to change. It is easy to script that way. The
way it
is now this is yet another mod to my script to build systems that has to be made for
7.1
and up. OTOH I guess one could argue that since there are already other changes that
need
to be made for 7.1 what is one more.
--
......Tom IGNORANCE: It's Amazing How Much Easier it is
[EMAIL PROTECTED] for a Team to Work Together When No One Has
Any Idea Where They're Going.
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list