>>>>> "Rai" == H S Rai <H.S.Rai> writes:

    Rai> Today at 10:05pm +0530 Raju Mathur wrote:
    >> >>>>> "Rai" == H S Rai <H.S.Rai> writes:
    >> 
    Rai> Unsorted ------------------
    >>
    Rai> B b B c \A D e a \c
    >>
    Rai> Sorted -----------------
    >>
    Rai> a \A b B B c \c D e

    >>  LC_COLLATE=C sort ...

    Rai> It made "\A" and "\c" between uppercase and lowercase sorted
    Rai> rest of sequence. I need "a" and "A" together, but starting
    Rai> with special character one one extreme side.

man sort yields:

       -f     fold lower case to upper case characters in keys

    Rai> What is significance of C in LC_COLLATE=C , what are other
    Rai> options. Where to look for this. Any pointer please.

Hehheh, don't ask me how I got the solution.  It was magic, pure and
simple.  Truthfully, I have no clue about how to use localization and
bounced from one man page to the other until I hit locale(1).  With
that I managed to find out all the collation sequences available.  The
only one that looked out of place was C, so tried with that.  I also
vaguely remember something like the C locale being the `natural'
locale of the computer from waaaay back, but could be absolutely
wrong.  Any l10n experts around to throw light on this?

Regards,

-- Raju
-- 
Raju Mathur          [EMAIL PROTECTED]           http://kandalaya.org/
                     It is the mind that moves


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to