egrep

extended regular expression grep (UNIX)

Syntax:

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

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: