Unix grep

GPTKB entity

Statements (35)
Predicate Object
gptkbp:instanceOf gptkb:graphical_user_interface
text search tool
gptkbp:category Unix software
Command-line software
Text processing utilities
gptkbp:commanded grep [options] pattern [files]
gptkbp:developedBy gptkb:Ken_Thompson
gptkbp:firstReleased 1973
https://www.w3.org/2000/01/rdf-schema#label Unix grep
gptkbp:includedIn gptkb:POSIX_standard
gptkb:GNU_Core_Utilities
gptkbp:license various open source licenses
gptkbp:nameOrigin global regular expression print
gptkbp:operatingSystem gptkb:macOS
gptkb:Unix
gptkb:BSD
gptkb:Linux
gptkbp:option -E (extended regex)
-F (fixed strings)
-c (count matches)
-i (ignore case)
-l (list files with matches)
-n (show line numbers)
-r (recursive)
-v (invert match)
-P (Perl regex, GNU grep only)
gptkbp:relatedTo gptkb:sed
gptkb:awk
gptkb:egrep
gptkb:fgrep
gptkbp:supports regular expressions
gptkbp:usedFor searching plain-text data sets for lines matching a regular expression
gptkbp:writtenBy C
gptkbp:bfsParent gptkb:GNU_Grep
gptkbp:bfsLayer 5