I’m looking for a command-line program that will print out the text of a PDF file, just like cat for a text file.
I’ve found pdftotxt, and that would be workable, but I’d prefer something that replicates the cat functionality because I want to pipe to grep. Thanks!
On the man pages for
pdftotext, I found this:Thus to output to
stdoutin order to pipe togrepuse this: