ripgrep-edit(1)

πŸ“¦
version 0.3.17 Β· 2 versions
, in fedora 43, fedora 44

πŸ’– ripgrep-edit β€” the group-chat manual πŸ’–

okay so bestie, welcome to the ripgrep-edit(1) page, straight outta the General Commands Manual. This is the whole thing, no skips, no cap. Sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

ripgrep-edit β€” Edit ripgrep search results across multiple files

Like, you grep a bunch of files, you get a bunch of matches, and then you edit them. Across. Multiple. Files. Slay.


🌸 SYNOPSIS 🌸

ripgrep-edit [-C|--context] [-A|--after-context] [-B|--before-context]
[--require-all-files] [--context-separator] [--filename-prefix]
[-S|--smart-case] [-i|--ignore-case] [-w|--word-regexp] [-U|--multiline]
[--multiline-dotall] [--sort] [--sortr] [-L|--follow] [-j|--threads]
[--dump-on-error] [--output-size-limit] [--gbnf]
[-G|--gbnf-control-lines] [-h|--help] [-V|--version] <-e|--regexp>
<-E|--editor> [PATHS]

notice how -e|--regexp and -E|--editor are not optional?? yeah. you literally cannot run this without them. it's giving "required arguments, periodt." πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Edit ripgrep search results across multiple files.

That's the whole vibe. You've got search results from ripgrep, and you want to edit them, and they live in multiple files, and this tool handles that. iconic behavior honestly.


πŸŽ€ OPTIONS πŸŽ€

  • -e, --regexp <REGEXP> β€” Regex pattern to search for. this is the thing you're hunting for, bestie.
  • -E, --editor <EDITOR> β€” Editor command. the tool that's gonna do the actual editing. you pick it, we don't.
  • -C, --context <CONTEXT> [default: 5] β€” Number of context lines. five by default, so you get a lil peek around each match. lowkey generous of it.
  • -A, --after-context <AFTER_CONTEXT> [default: 0] β€” Number of lines of context to show after each match. default is zero, so nothing extra after. keep it tight.
  • -B, --before-context <BEFORE_CONTEXT> [default: 0] β€” Number of lines of context to show before each match. also zero by default. balanced. we love symmetry.
  • --require-all-files β€” Require all files in the rg output to be present in the modified file. it's strict. it's checking. it's not letting anything slide.
  • --context-separator <CONTEXT_SEPARATOR> [default: -- DO NOT DELETE THIS SEPARATOR] β€” context_separator character. and yes the default literally screams at you in all caps, so maybe listen to it? πŸ™ˆ
  • --filename-prefix <FILENAME_PREFIX> [default: -- ] β€” filename_prefix character.
  • -S, --smart-case β€” Smart Case search. it's smart. it's case-aware. it knows what it's doing.
  • -i, --ignore-case β€” Ignore case. uppercase? lowercase? doesn't care. everyone's invited.
  • -w, --word-regexp β€” Word regexp. whole words only, no partial-match nonsense.
  • -U, --multiline β€” Multiline search. matches that span lines, because sometimes the vibe crosses a newline.
  • --multiline-dotall β€” Multiline dotall search. the . gets the dotall treatment.
  • --sort <SORT> [default: none] β€” Sort results.

Possible values:

  • none
  • path
  • modified
  • accessed
  • created
  • --sortr <SORTR> [default: none] β€” Sort results in reverse. same menu, opposite direction, main character energy.

Possible values:

  • none
  • path
  • modified
  • accessed
  • created
  • -L, --follow β€” Follow symlinks. we're going where they lead, bestie. πŸ”—
  • -j, --threads <THREADS> [default: 0] β€” Number of threads to use. zero means... the default situation. set it higher if you're feeling ✨powerful✨.
  • --dump-on-error β€” Dump processed tempfile to stderr on error. when it breaks, it spills the tea (to stderr).
  • --output-size-limit <OUTPUT_SIZE_LIMIT> β€” Limit the total size of ripgrep output in bytes (e.g., 1024, 1k, 1m, 1g), if the limit is exceeded exit with code 3.
okay so this one matters: blow past the limit and the whole thing exits with code 3. not a warning. an exit. head empty, process gone. πŸ’€
  • --gbnf β€” Generate GBNF grammar file with context lines.
  • -G, --gbnf-control-lines <GBNF_CONTROL_LINES> [default: 10] β€” Generate GBNF grammar from extra control lines.
  • -h, --help β€” Print help. the classic. your bestie when you forget a flag.
  • -V, --version β€” Print version. tell me who you are, king. πŸ‘‘
  • [PATHS] β€” Paths to search in. where we're looking. optional in the sense that it's the last thing in the synopsis, but like... you probably want to tell it where to go.

πŸ’œ VERSION πŸ’œ

v0.3.17


🫢 and that's the whole page!! every flag, every default, every possible value, all of it, untouched and unbothered. i would never gatekeep a manual from you. πŸ’–

ripgrep-edit 0.3.17 β€” that's the source and version, and the date lives on the same line in the original footer, so consider this your cute lil sign-off: ripgrep-edit 0.3.17, from the ripgrep-edit(1) manual. byeee, go edit some files bestie 🧚✨

πŸ“¦ where this page comes from
  • fedora 43: ripgrep-edit 0.3.17-2.fc43 Β· (GPL-3.0-or-later OR AGPL-3.0-or-later) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT
  • fedora 44: ripgrep-edit 0.3.17-2.fc44 Β· (GPL-3.0-or-later OR AGPL-3.0-or-later) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms