

GREP                            5/2/81                            GREP


NAME
       grep - search file[s] for a pattern

SYNOPSIS
       grep [-chlx] expression [file] ...

DESCRIPTION
       `grep'  searches the names files (or standard input if none are
       specified) for occurrences of the expression.  The set of valid
       expressions are the same as those for `find',  `ch'  and  `ed'.
       The  manual  entries  for those tools may be consulted for full
       details. The output of `grep' is dependent upon which  switches
       are selected:

       None When  one  or more occurrences of the expression are found
            in a file, the file name is displayed, with each  line  in
            which the expression occurs listed below the file name.

         -c Only  the  number  of  matching  lines  in  each  file  is
            displayed.

         -h Do not display the file names.

         -l Only the names of files which contain matching  lines  are
            displayed, one per line.

         -x Display  (or  count) only those lines which do NOT contain
            the expression.

FILES
       None

SEE ALSO
       find - find groups of expressions in a file
       ch - globally change expressions within a file
       ed - text editor

DIAGNOSTICS
       

AUTHORS
       Joe Sventek

BUGS
       








                                 -1-                                  

