pstotext - Extracts plain text from ps and pdf files ChangeLog

HOWTO


# pstotext 1.9
# ============
# Prerequisites:
# ghostscript

cd
test -f installed/pstotext-1.9.tar.gz && mv installed/pstotext-1.9.tar.gz .
test ! -f pstotext-1.9.tar.gz &&
wget ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/pstotext-1.9.tar.gz
mkdir -p -m 0700 src
cd src
test -d ./pstotext && rm -r ./pstotext
find -maxdepth 1 -type d -name "pstotext-*" -exec rm -r {} \;
tar xzvf ~/pstotext-1.9.tar.gz
cd pstotext-1.9
test $UID = 0 && chown -R root:root .
make

# Become root to install it
su

install -s pstotext /usr/local/bin/
install -m 644 pstotext.1 /usr/local/man/man1/

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/pstotext.tar.Z installed/pstotext-1.9.tar.*
mv pstotext-1.9.tar.gz installed/


# If you ever want to uninstall pstotext, this should do it:
su
rm -f /usr/local/bin/pstotext /usr/local/man/man1/pstotext.1
exit
test -d ~/src/pstotext && rm -r ~/src/pstotext
find ~/src -maxdepth 1 -type d -name "pstotext-*" -exec rm -r {} \;
rm -f ~/installed/pstotext.tar.Z ~/installed/pstotext-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-01-26 3:36pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]