Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 1996 23:21:41 +0000 ()
From:      James Raynard <>
To:        Brian Litzinger <>
Subject:   Re: sorting by character position
Message-ID:  <>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, 1 Jan 1996, Brian Litzinger wrote:

> All I want to do is
> sort -n -d -k 14,29 <unsorted >sorted
> where -k 14,29 is supposed to mean that sort is supposed to consider
> the data in columns 14 - 29 of each line as the key to sort by.
> However, from my reading of the sort man page, it doesn't seem to
> have this functionality.  However, I remember I used to be able
> to do this in my SYSV days.

It seems to be there in 2.1.0R:-

-k POS1[,POS2]
              An alternate syntax for  specifying  sorting  keys.
              The  fields  and  character  positions are numbered
              starting with 1.


Segmentation fault (core dumped): cannot find file '.signature'

Want to link to this message? Use this URL: <>