Debian Codegraph @

README.md

raw symbols SCIP
1 ## Overview
2
3 *pdfgrep* is a tool to search text in PDF files. It works similarly to *grep*.
4
5 ## Features
6
7 - Grep compatible: pdfgrep tries to be compatible with GNU grep,
8 where it makes sense. Many of your favorite grep options are
9 supported (such as `-r`, `-i`, `-n` or `-c`).
10 - Search many PDFs at once, even recursively in directories
11 - Regular expressions: Posix or PCRE
12 - Colored output
13 - Support for password protected PDFs
14
15 For a complete documentation, please consult the [manpage].
16
17 ## Example
18
19 $ pdfgrep --max-count 1 --context 1 --with-filename --page-number pattern rabin-karp.pdf
20 rabin-karp.pdf-1-randomized
21 rabin-karp.pdf:1:pattern-matching
22 rabin-karp.pdf-1-algorithms
23
24 ## Dependencies
25
26 - poppler-cpp (poppler >= 0.14) (http://poppler.freedesktop.org/)
27 - libgcrypt (https://www.gnu.org/software/libgcrypt/)
28 - optionally libpcre2 (http://www.pcre.org/)
29
30 ## Building
31
32 To build `pdfgrep`, use the standard procedure:
33
34 ./configure
35 make
36 sudo make install
37
38 If you're using the git version, you will also have to run
39 `./autogen.sh` in advance.
40
41 Depending on your OS, you need to have `-dev` or `-devel` packages
42 installed for all dependencies.
43
44 The `./configure` script can take lots of options to customize the
45 build process, the most important of which are:
46
47 - `--with-unac`: Build with experimental libunac support and add
48 the `--unac` flag to pdfgrep that strips all accents from
49 characters, making it possible to find the character 'รค' by
50 searching 'a'.
51 - `--with-{zsh,bash}-completion`: Configure installation directory
52 for shell completion files.
53 - `--without-libpcre`: Disable support for perl compatible regular
54 expressions.
55 - `--disable-doc`: Disable manpage generation.
56
57 To uninstall, run `sudo make uninstall`.
58
59 See `configure --help` for more info or read the (very extensive)
60 `INSTALL` file in the source.
61
62 ## Download
63
64 Tarballs for releases are available at https://pdfgrep.org/download.html
65
66 The development version is available as a git repository at
67 https://gitlab.com/pdfgrep/pdfgrep
68
69 ## Contact
70
71 General questions, suggestions, bug reports, patches or anything else
72 can be sent to the [mailinglist](mailto:[email protected]).
73
74 You can also use the [issue tracker] for bug reports or create a
75 [merge request] on GitLab, if you prefer that over mailinglists.
76
77
78 [manpage]: https://pdfgrep.org/doc.html
79 [issue tracker]: https://gitlab.com/pdfgrep/pdfgrep/issues
80 [merge request]: https://gitlab.com/pdfgrep/pdfgrep/merge_requests