egrep

Extended regular expression grep (UNIX)

Syntax:

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

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.

Last modified: 2013-12-21



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus