Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!gatech!hao!oddjob!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.questions,comp.sources.wanted Subject: Re: Multiple Field Sorts in UNIX(tm) Message-ID: <7651@mimsy.UUCP> Date: Wed, 22-Jul-87 18:52:39 EDT Article-I.D.: mimsy.7651 Posted: Wed Jul 22 18:52:39 1987 Date-Received: Fri, 24-Jul-87 07:04:16 EDT References: <2459@whuts.UUCP> <758@custom.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 12 Xref: mnetor comp.unix.questions:3295 comp.sources.wanted:1682 In article <758@custom.UUCP> boykin@custom.UUCP (Joseph Boykin) writes: >UNIX Sort (as well as our own PC/SORT) allows you to do exactly what you >want. ... unless you need a numeric sort on one field but an alphabetical sorts on another, or if any of the other global sort flags conflict for two fields. It should not be too hard to write a stable sort for such applications, especially if you let /usr/bin/sort do the hard work. (Note the merge option!) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) Domain: chris@mimsy.umd.edu Path: seismo!mimsy!chris