home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / DOS_HELP / PC_HELP2.ZIP / HELPPUBL.ZIP / FGREP.### < prev    next >
Encoding:
Text File  |  1985-08-12  |  1.5 KB  |  31 lines

  1. COMMAND:  FGREP                                 DOCUMENTATION : On-line
  2.  
  3. FUNCTION: Searches files for particular text patterns and dsiplays lines
  4.           containing matching paterrns.
  5.  
  6. FORMAT:   FGREP [-options] [pattern] [files or directories]
  7.  
  8. TYPE:     Public domain software.
  9.  
  10. REMARKS:  Options may be:
  11.  
  12.           r to recursively search sub-directories of directories specified
  13.             in the list of files or directories. The default is to search only
  14.             those files specified in the list.
  15.           i to ignore upper/lower case when matching the specified pattern.
  16.           l to print line numbers of matching text.
  17.           n to only print the names of files with matching text.
  18.           v to reverse the test, so that only those lines without matching text
  19.             are displayed.
  20.           c to only print a count of how many lines have matching text.
  21.           ^ to treat the ^ character in the specified pattern as a blank, since
  22.             command line parameters are separated by blanks and pattern cannot
  23.             contain blanks.
  24.  
  25.           The pattern arguement is the text string to search for, and it may
  26.           contain no blanks and may not start with -.
  27.           The files or directories arguement is a list of filespecs, which may
  28.           contain wildcard characters, and/or a list of path names. Matching
  29.           files are searched for matching patterns and the results are
  30.           displayed according to which options are selected.
  31.