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

    Rai> On sorting unsorted data with "sort", I get result as shown
    Rai> below. It place "\c" next to "c". I want all lines begining
    Rai> with "\" go to at start or at end. How to do this?

    Rai> Is this affected by LC_COLLATE, if yes, how to manipulate it?

    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 ...

or for the [t]csh weenies <g,d&r>:

setenv LC_COLLATE C ; sort ...

-- 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