home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / TEXT / HYPERTEX / HYDOS10.ZIP / SORT < prev    next >
Encoding:
Text File  |  1991-04-23  |  722 b   |  22 lines

  1.                                     SORT
  2.              Reads data from a device, sorts it and writes it.
  3.  
  4. COMMAND TYPE: External                  VERSION: 2.0 and up
  5.  
  6. USE: SORT [/R][/+n]
  7.  
  8. /R  causes SORT to sort in reverse order.  For example, Z comes before
  9.     A and 9 comes before 1.
  10. /+n causes SORT to sort starting with column n.
  11.  
  12. This command is usually used in conjunction with a pipe ( | ) or with
  13. file redirection ( [ or ] ).
  14.  
  15. EXAMPLE: DIR | SORT /+10
  16. will read a directory, sort the directory using column 10 (the filename
  17. extension) to sort by, and then display the directory.
  18.  
  19. EXAMPLE: SORT [ UNSORTED ] SORTED
  20. will read the file UNSORTED, sort it and write the results to the file
  21. SORTED.
  22.