grep

Name

grep -- print lines matching a pattern

Description

grep is as specified in POSIX 1003.1-2001 (ISO/IEC 9945-2003), but with differences as listed below.

LSB Differences

Certain aspects of regular expression matching are optional; see Regular Expressions.