|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 665 (0x299)
Types: TextFile
Notes: UNIX file
Names: »spell«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/bin/spell«
: #! /bin/sh
# spell.sh: version 1.2 of 1/27/83
# Unix System Command Source File
#
# @(#)spell.sh 1.2 (NSC) 1/27/83
: B flags, D dictionary, F files, H history, S stop, V data for -v
H=${H-/usr/dict/spellhist}
T=/tmp/spell.$$
V=/dev/null
F= B=
trap "rm -f $T*; exit" 0 1 2 13 15
for A in $*
do
case $A in
-v) B="$B -v"
V=${T}a ;;
-a) ;;
-b) D=${D-/usr/dict/hlistb}
B="$B -b" ;;
*) F="$F $A"
esac
done
deroff -w $F |\
sort -u |\
/usr/lib/spell ${S-/usr/dict/hstop} $T |\
/usr/lib/spell ${D-/usr/dict/hlista} $V $B |\
sort -u +0f +0 - $T |\
tee -a $H
who am i >>$H 2>/dev/null
case $V in
/dev/null) exit
esac
sed '/^\./d' $V | sort -u +1f +0