[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: incorrectly sorted file with snow leopard sort
From: |
Kamil Dudka |
Subject: |
Re: incorrectly sorted file with snow leopard sort |
Date: |
Wed, 4 Nov 2009 09:42:51 +0100 |
User-agent: |
KMail/1.9.10 |
On Tuesday 03 of November 2009 23:41:29 emmanuel poirier wrote:
> And again the result is not good. -> Andromeda is stuck to Alcatraz on the
> same line, and at the end I got skidrow stuck with virtual dreams
It depends on what you wish to do with the \r. You can also replace it by
either spaces or newlines:
$ tr '\r' ' ' < list-of-groups-greetings.txt | sort
$ tr '\r' '\n' < list-of-groups-greetings.txt | sort
Kamil
- Re: incorrectly sorted file with snow leopard sort,
Kamil Dudka <=