1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-05 02:35:33 +02:00

Update pdfgrep.md

This commit is contained in:
Juan Leñero 2017-11-01 17:27:26 -05:00 committed by GitHub
parent 512bd35b61
commit da10a8fa0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,14 +10,14 @@
`pdfgrep --with-filename --page-number {{pattern}} {{file.pdf}}`
- Find the first 3 lines that begin with foo case insensitive:
- Do a case insensitive search for lines that begin with "foo" and return the first 3 matches.
`pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{file.pdf}}`
- Find pattern in files with a .pdf extension in the current directory recusively:
- Find pattern in files with a .pdf extension in the current directory recursively:
`pdfgrep --recursive {{pattern}}`
- Find pattern recursively on files that match a specific glob:
- Find pattern on files that match a specific glob in the current directory recursively:
`pdfgrep --recursive --include {{'*book.pdf'}} {{pattern}}`