Update cheatsheets

This commit is contained in:
ivuorinen
2025-07-07 00:22:22 +00:00
parent bc2926a603
commit 4baf14a115
7 changed files with 163 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
- Print 3 lines of [C]ontext around, [B]efore or [A]fter each match:
`grep --{{context|before-context|after-context}} 3 "{{search_pattern}}" {{path/to/file}}`
`grep {{--context|--before-context|--after-context}} 3 "{{search_pattern}}" {{path/to/file}}`
- Print file name and line number for each match with color output: