1 --- a/web/bin/filters/pptx2txt 2011-12-01 17:08:13.338323187 +0000
2 +++ b/web/bin/filters/pptx2txt 2011-12-01 17:08:30.591873443 +0000
4 dd of=$TEMP > /dev/null 2>&1
6 unzip -oq $TEMP -d $TEMPDIR # Extract the file
7 -cat $TEMPDIR/ppt/slides/slide*.xml | tr "<" "\012" | grep ^a:t | cut '-d>' -f2, | uniq | sed '/^$/ d'
8 +cat $TEMPDIR/ppt/slides/slide*.xml | tr "<" "\012" | grep ^a:t | cut '-d>' -f2 | uniq | sed '/^$/ d'
10 rm -r $TEMPDIR #Delete excess (formatting) folders
12 --- a/web/bin/filters/odt2txt 2011-12-01 17:08:19.698403152 +0000
13 +++ b/web/bin/filters/odt2txt 2011-12-01 17:08:39.301982963 +0000
15 echo $TEMP >> /tmp/converter.log
17 unzip -oq $TEMP -d $TEMPDIR # Extract the file
18 -tr "<" "\012" < $TEMPDIR/content.xml | grep ^text | cut '-d>' -f2, | uniq | sed '/^$/ d'
19 +tr "<" "\012" < $TEMPDIR/content.xml | grep ^text | cut '-d>' -f2 | uniq | sed '/^$/ d'
22 --- a/web/bin/filters/odp2txt 2011-12-01 17:08:23.975123591 +0000
23 +++ b/web/bin/filters/odp2txt 2011-12-01 17:08:47.058747156 +0000
26 unzip -oq $TEMP -d $TEMPDIR # Extract the file
27 tr "<" "\012" < $TEMPDIR/content.xml | egrep '^text:p|text:span' \
28 - | cut '-d>' -f2, | uniq | sed '/^$/ d'
29 + | cut '-d>' -f2 | uniq | sed '/^$/ d'
31 rm -r $TEMPDIR #Delete excess (formatting) folders