DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

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

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦68801ba06⟧ TextFile

    Length: 848 (0x350)
    Types: TextFile
    Notes: UNIX file
    Names: »man«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/bin/man« 

TextFile

: #! /bin/sh

# man.sh: version 1.1 of 1/19/83
# Mesa Unix System Command Source File
#
# @(#)man.sh	1.1 (NSC) 1/19/83

cmd= sec= fil= opt= i= all=
cmd=n sec=\?
cd /usr/man
for i
do
	case $i in

	[1-8])
		sec=$i ;;
	-n)
		cmd=n ;;
	-t)
		cmd=t ;;
	-k)
		cmd=k ;;
	-e | -et | -te)
		cmd=e ;;
	-ek | -ke)
		cmd=ek ;;
	-ne | -en)
		cmd=ne ;;

	-w)
		cmd=where ;;
	-*)
		opt="$opt $i" ;;

	*)
		fil=`echo man$sec/$i.*`
		case $fil in
		man7/eqnchar.7)
			all="$all /usr/pub/eqnchar $fil" ;;

		*\*)
			echo $i not found 1>&2 ;;
		*)
			all="$all $fil" ;;
		esac
	esac
done
case $all in
	"")
		exit ;;
esac
case $cmd in

n)
	nroff $opt -man $all ;;
ne)
	neqn $all | nroff $opt -man ;;
t)
	troff $opt -man $all ;;
k)
	troff -t $opt -man $all | tc ;;
e)
	eqn $all | troff $opt -man ;;
ek)
	eqn $all | troff -t $opt -man | tc ;;

where)
	echo $all ;;
esac