by Daniel Pimentel — Sat 07 July 2001

grep searches input files for lines containing a match to a given pattern list. When it finds a match in a line, it copies the line to standard output (by default), or produces whatever other sort of output you have requested with options.


grep 'gnu' .
GNU Grep
2000-2016 by Daniel Pimentel under GFDL