EGREP(1) General Commands Manual EGREP(1)

egrepsearch a file with an ERE pattern (LEGACY)

egrep [-c | -l][-inv] -e pattern_list [file ...]

egrep [-c | -l][-inv] -f pattern_list [file ...]

egrep [-c | -l][-inv] pattern_list [file ...]

The name egrep is an obsolescent version equivalent to grep(1) -E .

A command invoking the egrep utility with the -e option specified is equivalent to the command: grep -E [ -c| -l][-inv] -e pattern_list [file...]

A command invoking the egrep utility with the -f option specified is equivalent to the command: grep -E [ -c| -l][-inv] -f pattern_list [file...]

A command invoking the egrep utility with neither the -e nor the -f option specified is equivalent to the command: grep -E [ -c| -l][-inv] pattern_list [file...]

Refer to grep(1) .

Refer to grep(1) .

Refer to grep(1) .

Refer to grep(1) .

Refer to grep(1) .

Refer to grep(1) .

Refer to grep(1) .

Refer to grep(1) .

Refer to grep(1) .

Refer to grep(1) .

Refer to grep(1) .

Refer to grep(1) .

Unlike grep(1) -E , multiple -e or -f options produce undefined results. Adjacent newline characters in the pattern operand or -e pattern_list option-argument also produce undefined results.

Applications should migrate to the -E command.

Refer to grep(1) .

Refer to grep(1) .

grep(1) .

February 1997 posix.fail