New York University Faculty of Arts and Science College of Arts and Science Graduate School of Arts and Science

Computing Resources

grep (version 2.5.1a)

Grep searches the named input FILEs (or standard input if no files are named, or the file name - is given) for lines con- taining a match to the given PATTERN. By default, grep prints the matching lines.

In addition, two variant programs egrep and fgrep are avail- able. Egrep is the same as grep -E. Fgrep is the same as grep -F.

Docs