File: pdf2text

package info (click to toggle)
emacspeak 40.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 16,208 kB
  • ctags: 5,818
  • sloc: xml: 55,354; lisp: 53,656; cpp: 1,893; tcl: 1,535; python: 1,370; makefile: 832; sh: 818; perl: 281; ansic: 241
file content (15 lines) | stat: -rwxr-xr-x 311 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#$Id: pdf2text 4305 2006-12-07 03:36:05Z tv.raman.tv $
#

if which pdftotext   > /dev/null
then
    tempfile=/tmp/pdftotext-$$.pdf
    cat > $tempfile
    pdftotext -layout $tempfile - | cat -s 
    rm -f $tempfile
    exit 0
else 
    echo "pdftotext not found --install package XPDF."
    exit 1
fi