grep Pattern Matching
Pattern matching with grep across 11 disciplines. Each page includes multiple partials that grow independently. 27 concern partials, all commands tested against Domus infrastructure.
Disciplines
| Discipline | Description | Partials |
|---|---|---|
Search flags, inversion, counting, file matching, extended regex |
3 |
|
Lookaheads, lookbehinds, |
2 |
|
|
3 |
|
Network IPs/MACs, Antora attributes, hardcoded value audit, config validation |
4 |
|
grep + xargs/awk/find, process substitution, conditional scripting, runbook nav |
5 |
|
Pacman logs, journalctl, systemd, log analysis, shell config audit |
3 |
|
git grep, commit history, pickaxe, multi-repo patterns across domus spokes |
2 |
|
Document structure, attribute validation, xref linting |
2 |
|
Thin pages, missing metadata, orphaned partials, duplicate titles |
2 |
|
Credential detection, certificate audit, SUID scan, SSH hardening |
1 |
|
BRE/ERE/PCRE traps, portability issues, false positive verification |
2 |
See Also
-
sed — stream editing counterpart
-
awk — field extraction and transforms
-
xargs — act on grep file lists
-
Regex Patterns — cross-tool regex reference