4 ms·
Does someone know a tool that is sed- or awk-like for PDFs?
by bionade24 2y ago
Does someone know a tool that is sed- or awk-like for PDFs?
- perihelions 2y agopdftk is a CLI tool that can extract and edit PDF metadata such as tables of contents*, if that's what you mean? *(Table of contents? Tables of content?)
- manaskarekar 2y agoPerhaps you can use lesspipe with sed/awk? https://github.com/wofr06/lesspipe https://github.com/wofr06/lesspipe
- maxerickson 2y agoQpdf has tools that go in that direction (but not a flat text format that allows arbitrary edits). https://qpdf.readthedocs.io/en/stable/qdf.html#qdf https://qpdf.readthedocs.io/en/stable/qdf.html#qdf