# Get it
cd
test -f installed/catdoc-0.94.2.tar.gz &&
mv installed/catdoc-0.94.2.tar.gz .
test ! -f catdoc-0.94.2.tar.gz &&
wget http://ftp.wagner.pp.ru/pub/catdoc/catdoc-0.94.2.tar.gz
# Verify tarball w/ md5sum:
# (this came from my sha1sum-verified tarball)
echo "243e1680bb3e703616f5adecfee24491 catdoc-0.94.2.tar.gz" | md5sum -c
# If you ever want to uninstall catdoc, this should do it:
cd
su
( cd /usr/local/bin ; rm -f catdoc catppt wordview xls2csv )
( cd /usr/local/man/man1 ; rm -f catdoc.1 catppt.1 wordview.1 xls2csv.1 )
test -d /usr/local/share/catdoc &&
rm -r /usr/local/share/catdoc
exit
find ~/src -maxdepth 1 -type d -name "catdoc-*" -exec rm -r {} \;
rm -f ~/installed/catdoc-*.tar.*