|
|
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.1 (Berkeley) 6/5/86 ! 8: # ! 9: if [ ! -r version ] ! 10: then ! 11: /bin/echo 0 > version ! 12: fi ! 13: touch version ! 14: v=`cat version` u=${USER-root} d=`pwd` h=`hostname` t=`date` ! 15: ( /bin/echo "char sccs[] = \"@(#)4.3 BSD #${v}: ${t} (${u}@${h}:${d})\\n\";" ; ! 16: /bin/echo "char version[] = \"4.3 BSD UNIX #${v}: ${t}\\n ${u}@${h}:${d}\\n\";" ! 17: ) > vers.c ! 18: /bin/echo `expr ${v} + 1` > version
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.