egrep (target)
Extended regular expression grep (POSIX, toybox)
Syntax:
egrep [-abcEFHhIiLlnoqrsvwZz] [-ABC num] [-m max] [[-e regex]...
[--exclude-dir pattern]... [-MS pattern]... [-f regfile]... [file]...
Runs on:
QNX OS
Options:
For a complete listing, see grep.
Description:
The egrep utility shows lines with matching regular expressions. If there is
no -e, the first argument is the regular expression that matches. If you do
not specify a file (or filename is a hyphen (-
)), egrep
reads from the standard input. It returns 0 if there is a match, 1 if no match is found, and
2 for command errors. See the documentation for grep for details.
This utility is provided as part of the toybox package. For information on how to enable it, see toybox.
Contributing author:
Rob Landley and the toybox project (see https://landley.net/toybox/).
Page updated: