mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +00:00

This set was hand-curated, guided by the questions: - Does it have at least three options, i.e. is the help page non-trivial? - Is the program unusual, i.e. does listing it in Help or on man.serenityos.org spread awareness? - Is the program common, but we only implement a subset of 'common' flags?
1 KiB
1 KiB
Name
grep
Synopsis
$ grep [--recursive] [--extended-regexp] [--regexp Pattern] [-i] [--invert-match] [--quiet] [--no-messages] [--binary-mode ] [--text] [-I] [--color WHEN] [file...]
Options:
--help
: Display help message and exit--version
: Print version-r
,--recursive
: Recursively scan files-E
,--extended-regexp
: Extended regular expressions-e Pattern
,--regexp Pattern
: Pattern-i
: Make matches case-insensitive-v
,--invert-match
: Select non-matching lines-q
,--quiet
: Do not write anything to standard output-s
,--no-messages
: Suppress error messages for nonexistent or unreadable files--binary-mode
: Action to take for binary files ([binary], text, skip)-a
,--text
: Treat binary files as text (same as --binary-mode text)-I
: Ignore binary files (same as --binary-mode skip)--color WHEN
: When to use colored output for the matching text ([auto], never, always)
Arguments:
file
: File(s) to process