[Previous] [Contents] [Next]

egrep

Extended regular expression grep (UNIX)

Syntax:

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

egrep [-chilnqsvx] expression [file...]

Options:

See grep.

Description:

The egrep utility does an extended regular expression grep (equivalent to grep -E). See 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, diff, find, sort


[Previous] [Contents] [Next]