DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T m

⟦70404202d⟧ TextFile

    Length: 599 (0x257)
    Types: TextFile
    Names: »makesubdir.sh«

Derivation

└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89
    └─⟦this⟧ »./DVIware/laser-setters/umd-dvi/misc/makesubdir.sh« 

TextFile

#! /bin/sh
#
# makesubdir - make the TeX fonts reside in a subdirectory style system
#
# usage:
#	cd /usr/lib/tex/fonts
#	sh makesubdir.sh

if [ -f SUBDIR ]; then
	echo "$0: SUBDIR file already exists.
Are you sure you need to do this?
(If so, remove the SUBDIR file and try again.)" 1>&2
	exit 1
fi

>SUBDIR

for font in *.*pxl; do
	dir=`echo $font | sed -e 's/\..*//'`
	if [ ! -d $dir ]; then
		if [ -f $dir ]; then
echo "$0: \`$dir' exists as a file (renamed to $dir.old)" 1>&2
			if mv -i $dir $dir.old; then
				echo "$0: aborting" 1>&2
			fi
		fi
		mkdir $dir
	fi
	mv -i $font $dir/$font
done