On Thu, 31 Dec 2009 15:28:16 -0600, McKown, John wrote:
>
>You're right it is not really insensitive. The lower case appears before the
>upper case of a given character. I.e. "apple" is before "Apple". My bad
>terminology. I guess the order is aAbBcCdD and so on.
>
Actually, no. Not according to a couple dictionaries I glanced at,
and OpenSolaris:
509 $ ls -1
castor
Castor
castor bean
510 $
What does Linux do?
The technique appears to be: First sort as if entirely case-insensitive;
only then resolve any ties by considering the case of the characters.
Which is why I suggested keeping all alphabetic characters in a single
case, followed by a bitmap identifying the case of the characters.
Case-insensitive lookup would ignore the bitmap; case sensitive would
consider it.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html