buildnum.sh
AlloyMUSH-1.1/obj/buildnum.sh · 191 B
From the archive AlloyMUSH-1.1.tar.gz
Download the archive « Back to the archive contents
#! /bin/sh
#
# Shell script to update the build number
#
PATH=/bin:/usr/bin:/usr/ucb
#
touch buildnum.data
bnum=`awk '{ print $1 + 1 }' < buildnum.data`
echo $bnum > buildnum.data
echo $bnum