pdfcat - localbin - leot's localbin (~/bin)
(HTM) hg clone https://bitbucket.org/iamleot/localbin
(DIR) Log
(DIR) Files
(DIR) Refs
---
pdfcat
---
1 #!/bin/sh
2
3 #
4 # Extract all text of a PDF.
5 #
6
7 pdfviewer="mutool draw"
8 pdfviewer_options="-F txt"
9
10 exec ${pdfviewer} ${pdfviewer_options} "$@" 2>/dev/null \
11 | tr -d '\f' # Get rid of useless ^L