File: doc2text

package info (click to toggle)
emacspeak 45.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 23,404 kB
  • ctags: 5,928
  • sloc: lisp: 58,787; tcl: 1,522; cpp: 1,171; sh: 874; makefile: 821; python: 659; perl: 281; ansic: 241; xml: 71
file content (17 lines) | stat: -rwxr-xr-x 378 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#for use in vm
#Description: Install  package wv to obtain wvText
if which wvText > /dev/null
then
    cd /tmp
    wordfile=mswordviewfile$$.doc
    txtfile=mswordviewfile$$.txt
    cat > $wordfile
    wvText $wordfile $txtfile
    cat   $txtfile 
    /bin/rm $txtfile  *.wmf *.png *.doc
    exit 0
else
    echo "wvText not found --install package wv."
    exit 1
fi