home *** CD-ROM | disk | FTP | other *** search
/ Zodiac Super OZ / MEDIADEPOT.ISO / FILES / 16 / FREEDOS.ZIP / FD_A4PRE.ZIP / HELP / FIND < prev    next >
Text File  |  1995-06-28  |  2KB  |  67 lines

  1.  
  2.      FIND (utility)         Free-DOS Alpha 4 release         FIND (utility)
  3.  
  4.  
  5.  
  6.      NAME: 
  7.  
  8.           FIND - Locates occurences of a string in a text file 
  9.  
  10.      SYNOPSIS: 
  11.  
  12.           FIND [/C] [/I] [/N] [/Q] [/V] string file..  
  13.  
  14.      DESCRIPTION: 
  15.  
  16.           FIND locates and displays all occurrences of a specified 
  17.           string in the text file(s).  FIND examines each line of the 
  18.           text file(s), and prints each line containing the string.  
  19.  
  20.           If no file is specified on the command line, FIND will 
  21.           filter standard input for occurrences of the string.  Data 
  22.           may be piped or redirected into FIND.  
  23.  
  24.      OPTIONS: 
  25.  
  26.           /C - Counts the number of occurrences of the string only.  
  27.  
  28.           /I - Ignores the case of the string when matching.  
  29.  
  30.           /N - Displays the line number of each line where the string 
  31.           is found.  
  32.  
  33.           /Q - Suppresses the header line that identifies the file 
  34.           being searched.  
  35.  
  36.           /V - Prints all lines in the file that do NOT contain the 
  37.           string.  
  38.  
  39.  
  40.      AUTHOR: 
  41.  
  42.           (C) 1995 James Hall, modified by Morgan "Hannibal" Toal 
  43.  
  44.      EXAMPLES: 
  45.  
  46.           The following commands are equivelant in that they all 
  47.           search a file called FOO.TXT for lines containing the word 
  48.           "boogers".  
  49.  
  50.                 FIND boogers foo.txt 
  51.  
  52.                 TYPE foo.txt | FIND boogers 
  53.  
  54.                 FIND boogers < foo.txt 
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                                       -1-
  66.  
  67.