BATGREP(1) General Commands Manual BATGREP(1) (NAME) batgrep - ripgrep bat (DESCRIPTION) ( -F) bat (syntax highlighting). (USAGE) batgrep [] [...] (OPTIONS) +-----------------+------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | | | | +-----------------+------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | | | | | | | | | -i | --ignore-case | . | | -s | --case-sensitive | . | | -S | --smart-case | (smart case). | | -A | --after-context=[LINES] | n . | | -B | --before-context=[LINES] | n . | | -C | --context=[LINES] | --after-context --before-context. | | -p | --search-pattern | (pager) PATTERN. : less. | | | --no-follow | (symlinks). | | | --no-snip | snip . --context=0 bat --version 0.12.x . | | | --no-highlight | . --context=0 . | | | --color | . | | | --no-color | . | | | --paging=["never"/"always"] | / (paging). | | | --pager=[PAGER] | . | | | --terminal-width=[COLS] | . | | | --no-separator | . | | | --rga | ripgrep-all ripgrep. | +-----------------+------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ripgrep . +-----------------+-------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | | | | +-----------------+-------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | | | | | -F | --fixed-strings | | | -U | --multiline | | | -P | --pcre2 | | | -z | --search-zip | | | -w | --word-regexp | | | | --one-file-system | | | | --multiline-dotall | | | | --ignore / --no-ignore | | | | --crlf / --no-crlf | | | | --hidden / --no-hidden | | | -E | --encoding | bat . | | -g | --glob | | | -t | --type | | | -T | --type-not | | | -m | --max-count | | | | --max-depth | | | | --iglob | | | | --ignore-file | | +-----------------+-------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ (CAVEATS) ripgrep: - --follow batgrep . - ripgrep . BATGREP(1)