# Copyright (c) 1989 Jan-Simon Pendry
# Copyright (c) 1989 Imperial College of Science, Technology & Medicine
# Copyright (c) 1989 The Regents of the University of California.
# This code is derived from software contributed to Berkeley by
# Jan-Simon Pendry at Imperial College, London.
# %sccs.include.redist.sh%
# @(#)newvers.sh 5.5 (Berkeley) %G%
# $Id: newvers.sh,v 5.2.2.1 1992/02/09 15:11:19 jsp beta $
PATH
=/usr
/ucb
:/bin
:/usr
/bin
:$PATH
if [ $# -ne 3 ]; then echo "Usage: newvers program arch os" >&2; exit 1; fi
if [ ! -r $version ]; then echo 0 > $version; chmod 444 $version; fi
u
=${USER-${LOGNAME-root}}
#h=`expr "$h" : '\([^.]*\)'`
if [ ! -s "$d../config/RELEASE" -o ! -s "$d../text/COPYRIGHT" ]; then
echo ERROR
: config
file missing
>&2
sed 's/$/\\n\\/' $d../text/COPYRIGHT
Built by ${u}@${h} for \\
[aeiou]*) echo "an
\\" ;;