diff options
author | Peter Elliott <pelliott@ualberta.ca> | 2022-10-25 22:11:34 -0600 |
---|---|---|
committer | Jelle Raaijmakers <jelle@gmta.nl> | 2023-01-19 12:22:24 +0100 |
commit | d50de8e4ef11d24f30af5c24c141dcd098e50fef (patch) | |
tree | 6f18da91bdda9816efa761572e33a197b57bbf54 /Base/usr | |
parent | d844829de47c0ad1bb898512c12759d044b416e1 (diff) | |
download | serenity-d50de8e4ef11d24f30af5c24c141dcd098e50fef.zip |
Utilities: Replace fgrep with grep --fixed-strings
Diffstat (limited to 'Base/usr')
-rw-r--r-- | Base/usr/share/man/man1/grep.md | 3 |
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 c2152777db..ba55b02b08 100644 --- a/Base/usr/share/man/man1/grep.md +++ b/Base/usr/share/man/man1/grep.md @@ -5,13 +5,14 @@ grep ## Synopsis ```sh -$ grep [--recursive] [--extended-regexp] [--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] [-i] [--line-numbers] [--invert-match] [--quiet] [--no-messages] [--binary-mode ] [--text] [-I] [--color WHEN] [--count] [file...] ``` ## Options: * `-r`, `--recursive`: Recursively scan files * `-E`, `--extended-regexp`: Extended regular expressions +* `-F`, `--fixed-strings`: Treat pattern as a string, not a regexp * `-e Pattern`, `--regexp Pattern`: Pattern * `-i`: Make matches case-insensitive * `-n`, `--line-numbers`: Output line-numbers |