version 1.40, 2011/03/04 03:11:22 |
version 1.41, 2011/07/08 01:20:24 |
|
|
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm grep |
.Nm grep |
.Bk -words |
.Bk -words |
.Op Fl abcEFGHhIiLlnqRsUVvwxZ |
.Op Fl abcEFGHhIiLlnoqRsUVvwxZ |
.Op Fl A Ar num |
.Op Fl A Ar num |
.Op Fl B Ar num |
.Op Fl B Ar num |
.Op Fl C Ns Op Ar num |
.Op Fl C Ns Op Ar num |
|
|
.Fl q |
.Fl q |
is |
is |
specified. |
specified. |
|
.It Fl o |
|
Print each match, but only the match, not the entire line. |
.It Fl q |
.It Fl q |
Quiet mode: |
Quiet mode: |
suppress normal output. |
suppress normal output. |
|
|
specification. |
specification. |
.Pp |
.Pp |
The flags |
The flags |
.Op Fl AaBbCGHhILRUVwZ |
.Op Fl AaBbCGHhILoRUVwZ |
are extensions to that specification, and the behaviour of the |
are extensions to that specification, and the behaviour of the |
.Fl f |
.Fl f |
flag when used with an empty pattern file is left undefined. |
flag when used with an empty pattern file is left undefined. |