mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-23 11:04:40 +00:00
Base: Document the -f option for grep
This commit is contained in:
parent
9bc45c0ae8
commit
f3c450559f
|
@ -5,7 +5,7 @@ grep
|
|||
## Synopsis
|
||||
|
||||
```sh
|
||||
$ grep [--recursive] [--extended-regexp] [--fixed-strings] [--regexp Pattern] [-i] [--line-numbers] [--invert-match] [--quiet] [--no-messages] [--binary-mode ] [--text] [-I] [--color WHEN] [--count] [file...]
|
||||
$ grep [--recursive] [--extended-regexp] [--fixed-strings] [--regexp Pattern] [--file File] [-i] [--line-numbers] [--invert-match] [--quiet] [--no-messages] [--binary-mode ] [--text] [-I] [--color WHEN] [--count] [file...]
|
||||
```
|
||||
|
||||
## Options
|
||||
|
@ -14,6 +14,7 @@ $ grep [--recursive] [--extended-regexp] [--fixed-strings] [--regexp Pattern] [-
|
|||
* `-E`, `--extended-regexp`: Extended regular expressions
|
||||
* `-F`, `--fixed-strings`: Treat pattern as a string, not a regexp
|
||||
* `-e Pattern`, `--regexp Pattern`: Pattern
|
||||
* `-f File`, `--file File`: Read patterns from a file
|
||||
* `-i`: Make matches case-insensitive
|
||||
* `-n`, `--line-numbers`: Output line-numbers
|
||||
* `-v`, `--invert-match`: Select non-matching lines
|
||||
|
|
Loading…
Reference in a new issue