grep
grepgrep prints lines that match a pattern in files or standard input.
Runs as
grep|macOS, Linux, Windowsgrep prints lines that match a pattern in files or standard input.
grep|macOS, Linux, WindowsSearch for a pattern in files or directories. Context, match filtering and file selection options are included; binary-file and device handling are left out.
patternpathsrecursiveline_numberpatternpathsrecursivefiles_with_matchesstring · positional 0path · positional 1 · repeatableboolean-Eboolean-Fboolean-iboolean-vboolean-wboolean-rboolean-nboolean-cboolean-lboolean-ointeger-Cstring--includestring--excludeenum--colorautoalwaysneverfigcompletionBefore it fills your prompt, Otty checks the installed grep against its version. A form that does not match your version is not offered.