summaryrefslogtreecommitdiff
path: root/Base/usr/share/man
diff options
context:
space:
mode:
authorEli Youngs <eli.m.youngs@gmail.com>2023-03-31 12:55:20 -0700
committerAndrew Kaster <andrewdkaster@gmail.com>2023-04-01 13:49:47 -0600
commitf3c450559fce1e8af9df0c7a160c34239cd4319d (patch)
tree1b47b86725adde001d53b4143ebdc7b1d908d334 /Base/usr/share/man
parent9bc45c0ae8aec86a0fc95b786b6034d94ddd955d (diff)
downloadserenity-f3c450559fce1e8af9df0c7a160c34239cd4319d.zip
Base: Document the -f option for grep
Diffstat (limited to 'Base/usr/share/man')
-rw-r--r--Base/usr/share/man/man1/grep.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/Base/usr/share/man/man1/grep.md b/Base/usr/share/man/man1/grep.md
index df57aff2b0..836578566f 100644
--- a/Base/usr/share/man/man1/grep.md
+++ b/Base/usr/share/man/man1/grep.md
@@ -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