A.8. Grep

A.8.1. Contents

The grep package contains the egrep, fgrep and grep programs.

A.8.2. Description

A.8.2.1. egrep

egrep prints lines from files matching an extended regular expression pattern.

A.8.2.2. fgrep

fgrep prints lines from files matching a list of fixed strings, separated by newlines, any of which is to be matched.

A.8.2.3. grep

grep prints lines from files matching a basic regular expression pattern.