Grep may sort of also work with pdf files. You might want to also use the strings command to get "clean" srings. Note: *some* pdf files are just images (no actual text). These would be PDFs created by scanning a document (not
using OCR). Also, many typesetting programs (TeX/LaTex, word-processos, etc), might do some typesetting "magic" (eg ligitures, etc.) that might make things hard for grep.
xpdf includes a text search button as part of its UI.
At Wed, 3 Apr 2024 12:45:20 -0000 (UTC) db <
[email protected]> wrote:
Under Linux, I can use grep to search a bunch of
files for a character string. Is there an equivalent
command for searching pdf files?
--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
[email protected] -- Webhosting Services
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)