mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-23 13:05:12 +00:00
Base: Document the -f option for grep
This commit is contained in:
parent
9bc45c0ae8
commit
f3c450559f
Notes:
sideshowbarker
2024-07-16 22:24:48 +09:00
Author: https://github.com/water-ghosts Commit: https://github.com/SerenityOS/serenity/commit/f3c450559f Pull-request: https://github.com/SerenityOS/serenity/pull/18118 Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue