|
|
There are many derivatives of grep, for example agrep which stands for approximate grep to facilitate fuzzy string searching, fgrep for fixed pattern searches and egrep for searches involving more sophisticated regular expression syntax. All these variations of grep have been ported to many computer operating systems.
The Perl programming language provides a pattern matching function named grep, as do other languages.
Grep is often used as a verb, meaning to search -- usually, to search a known set of files, as one would with the grep utility. The direct object is the set of files searched: "Joe grepped his Usenet spool for his name." Contrast google, meaning to search an unknown set of files (the entire Web) with the Google search engine. "Mary googled for Wikipedia references."