bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bugreport 'sort'


From: Pádraig Brady
Subject: Re: Bugreport 'sort'
Date: Tue, 4 Mar 2008 17:18:55 +0000
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Eric Blake wrote:
> Pádraig Brady <P <at> draigBrady.com> writes:
> 
>>> Nice thought.  But it would violate POSIX if done by default
>> POSIX says you can't warn users about potential problems?
> 
> One person's bug is another person's feature.  The entire reason that 
> LC_COLLATE exists is because some people INTENTIONALLY want to sort files in 
> other than the C locale order, when they know what they are doing.

As a related issue, why do we indicate in the man page and FAQ to explicitly
set the order use LC_ALL rather than LC_COLLATE ?
I was just using that as a quick example of heuristics one
might be able to use to determine if a user was being explicit or not.

> POSIX 
> pretty much states that if an application prints a message to stderr, it 
> should 
> exit with non-zero status, unless explicitly mentioned otherwise in the POSIX 
> requirements for that application.

So one can't print warning messages, hmm.

Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]