NAME
egrep — search a
file with an ERE pattern (LEGACY)
SYNOPSIS
egrep |
[-c |
-l][-inv]
-e pattern_list
[file ...] |
egrep |
[-c |
-l][-inv]
-f pattern_list
[file ...] |
egrep |
[-c |
-l][-inv]
pattern_list [file ...] |
DESCRIPTION
The name egrep is an obsolescent version
equivalent to grep(1) -E .
A command invoking the egrep utility with
the -e option specified is equivalent to the
command: grep -E [ -c| -l][-inv] -e pattern_list
[file...]
A command invoking the egrep utility with
the -f option specified is equivalent to the
command: grep -E [ -c| -l][-inv] -f pattern_list
[file...]
A command invoking the egrep utility with
neither the -e nor the -f
option specified is equivalent to the command: grep -E [
-c| -l][-inv] pattern_list [file...]
OPTIONS
Refer to grep(1) .
OPERANDS
Refer to grep(1) .
STDIN
Refer to grep(1) .
INPUT FILES
Refer to grep(1) .
ENVIRONMENT VARIABLES
Refer to grep(1) .
ASYNCHRONOUS EVENTS
Refer to grep(1) .
STDOUT
Refer to grep(1) .
STDERR
Refer to grep(1) .
OUTPUT FILES
Refer to grep(1) .
EXTENDED DESCRIPTION
Refer to grep(1) .
EXIT STATUS
Refer to grep(1) .
CONSEQUENCES OF ERRORS
Refer to grep(1) .
APPLICATION USAGE
Unlike grep(1) -E ,
multiple -e or -f options
produce undefined results. Adjacent newline characters in the pattern
operand or -e pattern_list option-argument also
produce undefined results.
Applications should migrate to the
grep
-E command.
EXAMPLES
Refer to grep(1) .
FUTURE DIRECTIONS
Refer to grep(1) .
SEE ALSO
grep(1) .