tldr-pages/tldr

Page modification request: unify grep documentation

Open

#19922 opened on Dec 11, 2025

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Shell (30,937 stars) (2,507 forks)batch import
help wantedpage edit

Description

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