Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-23 00:19:46 +00:00
parent 0cc7cfe867
commit 058ce19122
64 changed files with 437 additions and 86 deletions

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Do a case-insensitive search for lines that begin with "foo" and return the first 3 matches:
`pdfgrep {{[-m|--max-count]}} {{3}} {{[-i|--ignore-case]}} {{'^foo'}} {{file.pdf}}`
`pdfgrep {{[-m|--max-count]}} {{3}} {{[-i|--ignore-case]}} '{{^foo}}' {{file.pdf}}`
- Find pattern in files with a `.pdf` extension in the current directory recursively:
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
- Find pattern on files that match a specific glob in the current directory recursively:
`pdfgrep {{[-r|--recursive]}} --include {{'*book.pdf'}} {{pattern}}`
`pdfgrep {{[-r|--recursive]}} --include '{{*book.pdf}}' {{pattern}}`