Xref: utzoo comp.unix.shell:703 comp.unix.questions:26460 Path: utzoo!telly!attcan!uunet!ingr! From: rob@b15.INGR.COM (Rob Lemley) Newsgroups: comp.unix.shell,comp.unix.questions Subject: Re: How to sort on exactly one field only Message-ID: <1757@b15.INGR.COM> Date: 24 Oct 90 22:22:54 GMT References: <1094@massey.ac.nz> Organization: Intergraph Huntsville Lines: 40 th: b15!rob In <1094@massey.ac.nz> ARaman@massey.ac.nz (Anand Venkata Raman) writes: >I want to sort a file exclusively on field #2. . . . >I tried using sort +1 -2, but that doesn't seem to deter sort from looking >at field #3. Anand, you cannot deter sort from looking at field three. Try this: cat <