Implement -e support for grep
This commit is contained in:
9
grep.1
9
grep.1
@@ -4,6 +4,8 @@ grep \- search files for a pattern
|
||||
.SH SYNOPSIS
|
||||
.B grep
|
||||
.RB [ \-Ecilnqv ]
|
||||
.RB [ \-e
|
||||
.I pattern ]
|
||||
.I pattern
|
||||
.RI [ file ...]
|
||||
.SH DESCRIPTION
|
||||
@@ -25,6 +27,13 @@ matches using extended regex.
|
||||
.B \-c
|
||||
prints only a count of matching lines.
|
||||
.TP
|
||||
.B \-e pattern
|
||||
Specify a pattern used during the search of the input: an input
|
||||
line is selected if it matches any of the specified patterns.
|
||||
This option is most useful when multiple -e options are used to
|
||||
specify multiple patterns, or when a pattern begins with a dash
|
||||
(`-').
|
||||
.TP
|
||||
.B \-i
|
||||
matches lines case insensitively.
|
||||
.TP
|
||||
|
Reference in New Issue
Block a user