grep - search a file for a pattern
The grep utility searches input files for patterns. The patterns are specified by the -e option, -f option, or te pattern_list operand.
Match using extended regular expressions.
Match using fixed strings.
Write only a count of selected lines to standard output.
Specify oen or more patterns to be used during the search for input.
Read one or more patterns from the file named by the pathname pattern_file.
Perform pattern matching in searches without regard to case.
Write only the names of files containing selected lines to standard output.
Precede each output line by its line number in the file.
Quiet. Nothing is printed to standard output, regardless of matching lines.
Suppress the error messages written for nonexistent or unreadable files.
Invert the search pattern.
Consider only input lines that use all characters in the line excluding the terminating <newline> to match an entire fixed string or regular expression to be matching lines. (unimplemented)
The following operand is supported:
Specify one or more patterns to be used during the search for input.
A pathname of a file to be searched for the patterns. If no file operands are specified, the standard input is used.
© 2021 Benjamin StÃ¼rz
Generated using groff on 2022-07-19 01:11:30 (UTC)
Look at my source code on
This website is licensed under the terms of the AGPLv3.
Tor link: 3gto4zix3cpwhq32sh5ygsr3brlmgy4pdf26md46e4zpzfzmbftw3cyd.onion