version 1.9, 2003/06/22 22:42:00 |
version 1.10, 2003/06/23 00:55:09 |
|
|
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm grep |
.Nm grep |
.Op Fl AB Ar num |
.Op Fl AB Ar num |
.Op Fl CEFGHLPRSVZabchilnoqsvwx |
.Op Fl CEFGHILPRSUVZabchilnoqsvwx |
.Op Fl e Ar pattern |
.Op Fl e Ar pattern |
.Op Fl f Ar file |
.Op Fl f Ar file |
.Op Ar |
.Op Ar |
|
|
.Fl R |
.Fl R |
is specified, follow symbolic links only if they were explictly listed |
is specified, follow symbolic links only if they were explictly listed |
on the command line. |
on the command line. |
|
.It Fl I |
|
Ignore binary files. |
.It Fl L |
.It Fl L |
Only the names of files not containing selected lines are written to |
Only the names of files not containing selected lines are written to |
standard output. |
standard output. |
|
|
If |
If |
.Fl R |
.Fl R |
is specified, all symbolic links are followed. |
is specified, all symbolic links are followed. |
|
.It Fl U |
|
Search binary files, but do not attempt to print them. |
.It Fl V |
.It Fl V |
Display version information. |
Display version information. |
.It Fl Z |
.It Fl Z |
|
|
to behave as |
to behave as |
.Nm zgrep . |
.Nm zgrep . |
.It Fl a |
.It Fl a |
Do not search in binary files. |
Treat all files as text. |
.It Fl b |
.It Fl b |
The block number on the disk in which a matched pattern is located is |
The block number on the disk in which a matched pattern is located is |
displayed in front of the respective matched line. |
displayed in front of the respective matched line. |