egrep

Extended regular expression grep (UNIX)

Syntax:

egrep [-cilnqsvx]
      [-e expression | -f expression_file]...
      [file...]
egrep [-cilnqsvx] expression [file...]

Runs on:

QNX Neutrino, Linux, Microsoft Windows

Options:

See grep for a complete listing.

Description:

The egrep utility does an extended regular expression grep (equivalent to grep -E). See the documentation for grep for details.

Exit status:

0
Lines were found matching the expression provided.
>0
An error occurred or no matching lines were found.

See also:

grep