Date: Mon, 1 Jan 1996 21:02:39 -0800 (PST) From: Brian Litzinger <brian@MediaCity.com> To: freebsd-questions@freebsd.org Subject: sorting by character position Message-ID: <199601020502.VAA23128@MediaCity.com>
next in thread | raw e-mail | index | archive | help
I'm positive I remember doing this in my pre-BSD days. 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. Have I missed something? -- Brian Litzinger Powered by FreeBSD <brian@mediacity.com> http[s]://www.mpress.com speakfree.mpress.com [use -t (GSM)]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601020502.VAA23128>