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
Nemo Release 3.1 | grep- (1) | February 23, 2025 |