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

⟦d346d77c5⟧ TextFile

    Length: 654 (0x28e)
    Types: TextFile
    Notes: UNIX file
    Names: »makewhatis«

Derivation

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

TextFile

#! /bin/sh

# makewhatis.sh: version 1.2 of 2/7/83
# Mesa Unix System Command Shell Script.
#
# @(#)makewhatis.sh	1.2 (NSC) 2/7/83

rm -f /tmp/whatis /tmp/whatis$$
cd /usr/man
for i in man1 man2 man3 man4 man5 man6 man7 man8 mann
do
	cd $i
	/usr/lib/getNAME *.*
	cd ..
done >/tmp/whatis
ed - /tmp/whatis <<\!
g/\\-/s//-/
g/\\\*-/s//-/
g/ VAX-11/s///
1,$s/.TH [^ ]* \([^ 	]*\).*	\([^-]*\)/\2(\1)	/
g/	 /s//	/g
w /tmp/whatis2
q
!
/usr/ucb/expand -24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100\
	/tmp/whatis2 | sort >/tmp/whatis$$
/usr/ucb/unexpand -a /tmp/whatis$$ > /usr/lib/whatis
chmod 644 /usr/lib/whatis
rm -f /tmp/whatis /tmp/whatis$$