egrep - search a file with an ERE pattern (LEGACY)
egrep [ -c| -l][-inv] -e pattern_list [file...] egrep [ -c| -l][-inv] -f pattern_list [file...] egrep [ -c| -l][-inv] pattern_list [file...]
The name egrep is an obsolescent version equivalent to grep -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...]
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Refer to grep.
Unlike grep -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.
Refer to grep.
Refer to grep.
grep.