3 ms·
Lot of situations I use pdftotext file.pdf - | nroff | less pdftotext is from Poppler Developers http://poppler.freedesktop.org http://poppler.freedesktop.org
by nonrandomstring 3y ago
Lot of situations I use
pdftotext file.pdf - | nroff | less
pdftotext is from Poppler Developers http://poppler.freedesktop.org http://poppler.freedesktop.org Glyph & Cog, LLC
nroff is a GNU common util on most linux/unix systems
(though I don't trust poppler utils to be secure)
- mlinksva 3y agoYeah, I wasn't referring to the security of tools used to process PDFs, including memory-safe rewrites, but that too! Instead to whether incentivizing migration to a safer portable document format couldn't be justified and done in a similar way to how memory safety is being approached now. Edit: re-reading I guess your point is that you can use tools to extract text from PDFs and then read without worry. That brings up another super annoying thing about PDFs--it's can be hard to extract text from them with high fidelity.
- nonrandomstring 3y ago> can be hard to extract text from them with high fidelity. Or impossible with scans. Usually I take a look at the filesize as a guestimate. Anyone know better FOSS OCR tools that run from cmdline?