Reading PDFs on the command line (with misc/lesspipe)

Martin S. Weber Ephaeton at gmx.net
Wed Jun 29 11:36:58 UTC 2016


On 2016-06-29 13:26:33, Ralf Mardorf via freebsd-questions wrote:
> On Wed, 29 Jun 2016 12:29:45 +0200, Niklaas Baudet von Gersdorff wrote:
> >  $ less some.pdf
> 
> http://www.manualpages.de/FreeBSD/FreeBSD-ports-9.0-RELEASE/man1/pdftotext.1.html
> http://unix.stackexchange.com/questions/41362/view-pdf-file-in-terminal
> 
> I wonder how it is handled assumed "some.pdf" is just a scanned picture
> of text converted to pdf ;).

It (pdftotext in.pdf -) just outputs a blank line for image based PDFs. 

Regards,
-Martin


More information about the freebsd-questions mailing list