Re: SORT by text fields
From: Tapani Tarvainen (gn20031221T182819_at_tt.oma.it.jyu.fi)
Date: 12/21/03
- Next message: J: "filename and pipes and *"
- Previous message: Gnarlodious: "SORT by text fields"
- In reply to: Gnarlodious: "SORT by text fields"
- Next in thread: Kevin Collins: "Re: SORT by text fields"
- Reply: Kevin Collins: "Re: SORT by text fields"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Dec 2003 18:31:01 +0200
Gnarlodious <gnarlodiousNULL@VOID.invalid.yahoo.com> writes:
> I want to sort lines according to fields containing variable-length text.
>
> <td class=Name>variableLengthText<td class=Artist>variableLengthText<td
> class=Album>variableLengthText<td class=Genre>variableLengthText<td
> class=Size>variableLengthText<td class=Year>variableLengthText
>
> Let's say I want to sort using the "Genre" cell, what "sort" options will do
> that?
Try
sort -t'>' -k5
-- Tapani Tarvainen
- Next message: J: "filename and pipes and *"
- Previous message: Gnarlodious: "SORT by text fields"
- In reply to: Gnarlodious: "SORT by text fields"
- Next in thread: Kevin Collins: "Re: SORT by text fields"
- Reply: Kevin Collins: "Re: SORT by text fields"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]