gitrgrep(1)
π gitrgrep β the manual, bestie edition π
okay so this is gitrgrep(1), a page from the General Commands Manual, and it's literally one of the GNU Interactive Tools. sit down, grab a boba, we're doing this π§β¨
πΈ NAME πΈ
gitrgrep β GNU Interactive Tools β recursive grep. that's the whole vibe, she greps, but recursively, and she's iconic for it π
β¨ SYNTAX β¨
gitrgrep [grep-like options]
yeah that's it. that's the whole synopsis. she's lowkey minimal π
π¦ DESCRIPTION π¦
so gitrgrep is a very small script β like, tiny tiny, no cap β and what it does is call grep recursively. that's it. that's the job. she's a lil wrapper and she ate π
she accepts grep-like options/parameters, so if you already know grep you already know her. the only difference? you gotta quote your file specifications. yes, for real, the quotes are not optional, the quotes are the whole personality π«Ά
so like:
gitrgrep main '*.c'
or if you're feeling extra and want both file types:
gitrgrep errno '*.c *.h'
see how the patterns are chillin' inside the quotes? that's the move. do that. β¨
π BUGS π
okay so there's a little catch, bestie, and we gotta talk about it π
/bin/sh should support functions in order for gitrgrep to run. that's the requirement, and honestly /bin/sh is out here being unpredictable, so the safe play is: use bash to be sure. just use bash. trust. π₯
and if something's actually broken and you gotta tell somebody? send those bug reports to gnuit-dev@gnu.org π§
fr fr, use bash unless you enjoy chaos π
π SEE ALSO π
the whole girlies of the GNU Interactive Tools squad, all in one place:
go say hi, they're all in the group chat πβ
π AUTHORS π
the legends who made this happen, give them their flowers πΈ:
- Tudor Hulubei
<tudor@cs.unh.edu> - Andrei Pitis
<pink@pub.ro> - Ian Beckwith
<ianb@erislabs.net>β (Current maintainer)
okay bestie that's the whole page, and this absolute slay of a manpage is gitrgrep(1) from the General Commands Manual β now go quote your file specs and grep recursively, you got this πβ¨π
π¦ where this page comes from
- debian bookworm: gnuit 4.9.5-5 Β· GPL-3.0-or-later
- debian trixie: gnuit 4.9.5-5 Β· GPL-3.0-or-later
- ubuntu jammy: gnuit 4.9.5-3build3
- ubuntu noble: gnuit 4.9.5-5 Β· GPL-3.0-or-later
- ubuntu questing: gnuit 4.9.5-5
- ubuntu resolute: gnuit 4.9.5-5.1 Β· GPL-3.0-or-later
- ubuntu stonking: gnuit 4.9.5-5.1 Β· GPL-3.0-or-later
- Copyright 1993-1999, 2006-2007 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms