tofrodos - Conversion utility that converts DOS/Win CR/LF to/from Unix LF ChangeLog

HOWTO


# Tofrodos 1.7.8
# ==============
cd
test -f installed/tofrodos-1.7.8.tar.gz &&
mv installed/tofrodos-1.7.8.tar.gz .
test ! -f tofrodos-1.7.8.tar.gz &&
wget http://tofrodos.sourceforge.net/download/tofrodos-1.7.8.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "tofrodos-*" -exec rm -r {} \;
test -d ./tofrodos && rm -r ./tofrodos
tar xzvf ~/tofrodos-1.7.8.tar.gz
mv tofrodos tofrodos-1.7.8
cd tofrodos-1.7.8
test $UID = 0 && chown -R root:root .
cd src
make

# Install it as root
su -c "make BINDIR=/usr/local/bin MANDIR=/usr/local/man/man1 install"

cd
mkdir -p -m 0700 installed
rm -f installed/tofrodos-*.tar.*
mv tofrodos-1.7.8.tar.gz installed/


# If you ever want to uninstall Tofrodos, this should do it:
su
( cd /usr/local/bin ; rm -f fromdos todos )
( cd /usr/local/man/man1 ; rm -f fromdos.1 todos.1 )
exit
find ~/src -maxdepth 1 -type d -name "tofrodos-*" -exec rm -r {} \;
rm -f ~/installed/tofrodos-*.tar.*

List of HOWTOs

Last updated: 2020-04-29 10:24pm EDT(-0400)
Copyright © 2001-2020 Jason Englander. All Rights reserved.
[HTML5]