[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bugreport 'sort'
From: |
Eric Blake |
Subject: |
Re: Bugreport 'sort' |
Date: |
Tue, 4 Mar 2008 15:21:44 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Pádraig Brady <P <at> draigBrady.com> writes:
> I wonder should we flag the common case on exit with something like:
>
> if (only_ascii_read && LC_COLLATE!="C" && !LC_ALL) {
> fprintf(stderr, "Warning, sorting ASCII data in non C locale\n");
Nice thought. But it would violate POSIX if done by default, and doing it by
other that default would require the invention of a new option - and what are
the chances that a newbie is going to be aware of the existence of a new GNU-
specific flag?
I think we're stuck with educating people about POSIX via a FAQ.
--
Eric Blake