:  '$Header: newvers.sh,v 820.1 86/12/04 19:42:29 root Exp $'
:  '%W% %Y% %Q% %G%'
:
trap '' 1 2 15
[ -r version ] && V=`cat version` || V=0
V=`expr "$V" + 1` H=`hostname` D=`pwd` DA=`date`
rm -f version vers.c
echo $V > version
echo \
'char version[] = "4.2 BSD UNIX (release 8.2.1) #'"$V: $DA\nmade in /net/$H$D by $USER"'\n";' \
> vers.c

echo \
'char options[] = "'"$*"'\n";' \
>> vers.c
