sort question

Dan Troxel dan at hrc.UUCP
Thu May 4 06:15:01 AEST 1989


How can I use the 'sort' command, to sort by two fields?
Example:

_4 test _E                  _1 test _E
_2 test _E    should be     _2 test _E
_3 test _F                  _4 test _E
_1 test _E                  _3 test _F
 ^       ^
 ^       ^
  sorted
    by
-- 
Dan Troxel @ Handwriting Research Corporation                  WK 1-602-957-8870
Camelback Corporate Center  2821 E. Camelback Road  Suite 600  Phoenix, AZ 85016
ncar!noao!asuvax!hrc!dan                                  hrc!dan at asuvax.asu.edu



More information about the Comp.unix.questions mailing list