From owner-freebsd-questions Mon Jan 1 21:00:31 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA29125 for questions-outgoing; Mon, 1 Jan 1996 21:00:31 -0800 (PST) Received: from MediaCity.com (root@easy1.mediacity.com [205.216.172.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA29119 for ; Mon, 1 Jan 1996 21:00:29 -0800 (PST) Received: (from brian@localhost) by MediaCity.com (8.6.11/8.6.9) id VAA23128 for freebsd-questions@freebsd.org; Mon, 1 Jan 1996 21:02:39 -0800 From: Brian Litzinger Message-Id: <199601020502.VAA23128@MediaCity.com> Subject: sorting by character position To: freebsd-questions@freebsd.org Date: Mon, 1 Jan 1996 21:02:39 -0800 (PST) X-Mailer: ELM [version 2.4 PL24 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk I'm positive I remember doing this in my pre-BSD days. All I want to do is sort -n -d -k 14,29 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. Have I missed something? -- Brian Litzinger Powered by FreeBSD http[s]://www.mpress.com speakfree.mpress.com [use -t (GSM)]