_grep(1f) - [FUNIX] search a file for a pattern (LICENSE:PD)
Synopsis
Description
Options
Examples
Reporting Bugs
See Also
Author
License
_grep pattern [ -i][ -E| -G]|[ --help| --version]
Find lines on stdin that contain the specified regular expression pattern.
pattern regular expression -i Ignore case distinctions in both the PATTERN and the input files.
-E Interpret PATTERN as an ERE(extended regular expression). -G Interpret PATTERN as a BRE(basic regular expression). This is the default. If present, it takes precedence over -E.
In basic regular expressions the meta-characters ?, +, {, |, (, and ) lose their special meaning; instead use the backslashed versions \?, \+, \{, \|, \(, and \).
--help display this help and exit --version output version information and exit
Sample commands
_grep ^T.*found it <foundit
Report _grep bugs to <http://www.urbanjost.altervista.org/index.html>
John S. Urban
Public Domain
_grep (1) | March 11, 2021 |