bug-make
[Top][All Lists]
Advanced

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

Re: $(sort) - what is "lexical order"? (was RE: Follow-up)


From: David Boyce
Subject: Re: $(sort) - what is "lexical order"? (was RE: Follow-up)
Date: Tue, 19 Jul 2011 15:09:04 -0400

On Tue, Jul 19, 2011 at 3:00 PM, Paul Smith <address@hidden> wrote:

> I agree that the manual should document the fact that the sort function
> does not sort according the current LC_COLLATE value but instead always
> uses the standard ASCII (or LC_COLLATE="C") order.
>
> But I will not say that it doesn't sort lexically, because that's not
> true: it does.

Agree completely, and add a note to the OP that the sort function has
an extremely important side effect of removing repeated words. Another
reason to keep it, if that was meant seriously.

Why not trivially s/lexical/ASCII/ on the affected line in the manual?
Lexical may be technically correct but ASCII is more precise.

David Boyce



reply via email to

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