egrep
egrep is a Unix command-line utility that searches text for lines matching a pattern using extended regular expressions (ERE). It originated as part of the grep family and is traditionally described as an enhanced version of grep that supports richer pattern syntax. The name stands for extended grep. On many modern systems, egrep is implemented as a wrapper around grep with the -E option, or as a symbolic link to grep, making its behavior equivalent to grep -E.
Extended regular expressions permit constructs such as alternation with the vertical bar and grouping with parentheses,
Usage examples include: egrep 'error|warning' logfile, which matches lines containing either term; egrep -i 'fail|deny' /var/log/system.log
Status within standards: POSIX defines grep with an option to enable extended regular expressions (grep -E),