File:  [Research Unix] / researchv10no / cmd / ideal / ideal.cmd
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman


IDDIR=/usr/lib/ideal
LIBDIR=$IDDIR/lib/
export IDDIR LIBDIR
filter=t
iflags=
for i
do
	case $i in
	-p*)	filter=p
		shift ;;
	-4*)	filter=4
		shift ;;
	-n*)	filter=n
		shift ;;
	-tex*)	filter=tex
		shift ;;
	-a*)	filter=a
		shift ;;
	-t*)	filter=t
		shift ;;
	-T202*)	filter=t
		shift ;;
	-Taps*)	filter=a
		shift ;;
	-s*)	sflags=s
		shift ;;
	-q*)	fflags=-q
		shift ;;
	*)	iflags="$iflags $i"
		shift ;;
	esac
done
case $filter in
	p)	$IDDIR/ideal $iflags | $IDDIR/idfilt/pfilt ;;
	4)	$IDDIR/ideal $iflags >/tmp/id`getuid`
		$IDDIR/idfilt/4filt /tmp/id`getuid`
		rm /tmp/id`getuid` ;;
	n)	$IDDIR/ideal $iflags ;;
	tex)	$IDDIR/ideal $iflags | $IDDIR/idfilt/texfilt ;;
	t|a)	case $sflags in
		s)	$IDDIR/ideal $iflags | $IDDIR/idfilt/idsort | /usr/lib/ideal/idfilt/tfilt $fflags ;;
		*)	$IDDIR/ideal $iflags | /usr/lib/ideal/idfilt/tfilt $fflags ;;
		esac ;;
esac

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.