Subject: Re: sort - stupid question
To: Wojciech Puchar <wojtek@chylonia.3miasto.net>
From: Martin Weber <Ephaeton@gmx.net>
List: netbsd-users
Date: 01/03/2002 18:01:53
On Thu, Jan 03, 2002 at 05:57:17PM +0100, Wojciech Puchar wrote:
> what options should be used for sort to use everything except first 10
> characters of each line (NO FIELDS!) as a key

How about sort -k 1.10b <file(s)> ?

Yes that uses fields, but shouldn't the whole line be a field (the first)
itself? I tested it with some input and it seems to do what you want to do :)

Martin Weber