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.