version 1.20, 2003/10/20 05:02:58 |
version 1.21, 2003/12/11 20:48:06 |
|
|
.Op Fl -binary-files Ns = Ns Ar value |
.Op Fl -binary-files Ns = Ns Ar value |
.Op Fl e Ar pattern |
.Op Fl e Ar pattern |
.Op Fl f Ar file |
.Op Fl f Ar file |
|
.Op Ar pattern |
.Op Ar |
.Op Ar |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
|
|
escapes the |
escapes the |
.Ql \&. |
.Ql \&. |
which would otherwise match any character. |
which would otherwise match any character. |
|
.Pp |
|
To find all lines in a file which do not contain the words foo or bar: |
|
.Pp |
|
.Dl grep -v -e foo -e bar myfile |
.Pp |
.Pp |
A simple example of an extended regular expression: |
A simple example of an extended regular expression: |
.Pp |
.Pp |