[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sort feature (can't believe this hasn't been implemented yet)
From: |
Paul Eggert |
Subject: |
Re: sort feature (can't believe this hasn't been implemented yet) |
Date: |
Fri, 21 May 2004 14:26:58 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Edward Peschko <address@hidden> writes:
> So how do you do this? I see the '-z' option, but I would think
> there would be a generic line separator option like there was a
> field separator option.
>
> Is this there, or was this truly an oversight?
You're right, it's not there. (Perhaps you could add it?....)
> I want to sort a record which has a delimiter other than a newline
> (its a data file with a delimiter of '\<newline>' because the data
> itself has newlines in it).
If the data doesn't have nulls, then you can turn the \<newline> into
a null, sort that, and then turn it back to \<newline> afterwards.
Otherwise I'm afraid you're out of luck the way things stand.