home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / str.arc / STR.DOC < prev    next >
Encoding:
Text File  |  1986-04-18  |  1.4 KB  |  29 lines

  1.              str - find the ASCII strings in a binary file
  2.  
  3. Syntax:   str [-l## -t##] [filename ...]
  4.  
  5. Options:  -l##   Set the minimum length of an unterminated string to ##
  6.                  [default is 6]
  7.           -t##   Set the minimum length of a terminated string to ##
  8.                  [default is 4]
  9.  
  10. Str searches through a binary file (e.g. a .exe or .com file) and sends any 
  11. ASCII strings it finds to stdout.  It defines a string as an uninterrupted 
  12. sequence of printable ASCII characters terminated by a NULL, newline or return 
  13. code (terminated string), or ended by a non-printable ASCII code (unterminated 
  14. string).  If the ending code is a printable ASCII character with the 8th bit 
  15. set, the character is printed at the end of the string, else it is ignored.  
  16. Each string is printed on a separate line and will wrap if the string is 
  17. longer than 80 characters. If output is to the screen the display will pause 
  18. every 22 lines; if output is redirected no pause occurs.  
  19.  
  20. Examples:  str  keydo.com            PSQRVWU
  21.                                      ]_^ZY[X0
  22.                                      GHKMOPSstuwv
  23.                                      DOS EDITOR BY J. Gersbach
  24.                                      Oct 10,1983 R7
  25.  
  26.            str -l12 keydo.com        DOS EDITOR BY J. Gersbach
  27.                                      Oct 10,1983 R7
  28.  
  29.