home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / tara201.zip / NSORT.DOC < prev    next >
Text File  |  1987-05-12  |  1KB  |  24 lines

  1.  
  2. NSORT (Numeric):  Tara Datafile Utilities, v. 2.0, (c) 1987 by David C. Oshel
  3.  
  4. Sorts MailMerge-type records on any field & copies them to standard output.
  5.  
  6. Usage:     C>nsort <names.dat >sorted.dat
  7.            C>nsort -f\ 2 a <names.dat
  8.            C>nsort d 2 <names.dat | nsort 1 | more
  9.  
  10. Your INPUT DATAFILE (with <) is chosen on the command line.  You may give a
  11. complete pathname to another drive and/or subdirectory.  Nsort is slower than
  12. Tsort.  Records sorted on non-numeric fields drop down in order to EOF.
  13.  
  14. The first example (with >) sends sorted OUTPUT to a new file, "sorted.dat".
  15. The second sorts on field 2 (separated by "\") in ascending order, to SCREEN.
  16. The third presents records in ascending field 1, descending field 2, order.
  17.  
  18. Nsort can do complex, inside-out sorts via command line pipes.  Largest file
  19. sortable in 512k memory exceeds 4,000 records.  Split larger files with PICK,
  20. then sort subfiles & merge.  Use the "-f<character>" switch on the command line
  21. to set the field separator to something other than comma.  Only the first 32
  22. characters of each sort field are significant.  Default field is field 0, i.e.,
  23. the entire record.  Default order is ascending.  All sorts are NUMERIC.
  24.