On Tue, Mar 4, 2008 at 3:21 PM, Eric Blake <[EMAIL PROTECTED]> wrote:
> 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.

We could perhaps do something for the "sort -c" case.    But failing
that, perhaps we could exit with status 0.000001 or (0+1i) :)

James.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to