|
|
1.1 ! root 1: #!/bin/sh - ! 2: # ! 3: # Copyright (c) 1980, 1986 Regents of the University of California. ! 4: # All rights reserved. The Berkeley software License Agreement ! 5: # specifies the terms and conditions for redistribution. ! 6: # ! 7: # @(#)newvers.sh 7.3 (Berkeley) 7/1/90 ! 8: # ! 9: if [ ! -r version ] ! 10: then ! 11: echo 0 > version ! 12: fi ! 13: touch version ! 14: v=`cat version` u=${USER-root} d=`pwd` h=`hostname` t=`date` ! 15: ( echo "char sccs[] = \"@(#)4.3 BSD Reno #${v}: ${t} (${u}@${h}:${d})\\n\";" ; ! 16: echo "char version[] = \"4.3 BSD Reno UNIX #${v}: ${t}\\n ${u}@${h}:${d}\\n\";" ! 17: ) > vers.c ! 18: echo `expr ${v} + 1` > version
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.