tldr-pages/tldr

Page modification request: unify grep documentation

Open

#19.922 geöffnet am 11. Dez. 2025

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Shell (2.507 Forks)batch import
help wantedpage edit

Repository-Metriken

Stars
 (30.937 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 5h) (321 gemergte PRs in 30 T)

Beschreibung

Command description

Currently there is a ton of repeated and mismatching documentation. This should be unified. I cut down some of it in #19920, but more work could be done.

While the most commonly used methods like invert match and ignore case should be documented in all of them, do take into account the individual needs and usecases of each tool.

  • grep
  • ack
  • ag
  • pt
  • bgpgrep
  • bzgrep
  • csvgrep
  • exiqgrep
  • git grep
  • ngrep
  • pgrep
  • pdfgrep
  • ptargrep
  • rg
  • sift (no page yet)
  • ucg (no page yet)
  • ugrep
  • xzgrep
  • zgrep
  • zipgrep

Platform

Common

Commands (probably) in common

  • Fixed string
  • Recursive
  • Context -A, -B, -C
  • Invert match
  • Extended regex

Contributor Guide