grep

grep

Synopsis
grep [Options] Pattern [File ...]
grep [Options] [ -e Pattern | -f File ...] [File ...]
 
Details
grep searches the input Files (or standard input if not files are give, or if - is given as a file name) for lines containing a match to the Pattern. By default grep prints the matching lines.
 
Compatibility
JNode grep implements most of the POSIX grep standard
JNode grep implements most of the GNU grep extensions
 
Links
 
Bugs
  • grep -E and grep -B do not really work, instead they default to grep -P.
  • grep -o/--only-matching does not work