|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T v
Length: 1145 (0x479)
Types: TextFile
Names: »version.sh«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
└─⟦eba4602b1⟧ »./isode-5.0.tar.Z«
└─⟦d3ac74d73⟧
└─⟦this⟧ »isode-5.0/util/version.sh«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦e83f91978⟧ »EurOpenD22/isode/osimis-2.0.tar.Z«
└─⟦d846658bd⟧
└─⟦this⟧ »osimis/misode/util/version.sh«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z«
└─⟦de7628f85⟧
└─⟦this⟧ »isode-6.0/util/version.sh«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z«
└─⟦e5a54fb17⟧
└─⟦this⟧ »pp-5.0/Lib/version.sh«
: run this script through /bin/sh
: this hacks past a bug in make...
exec 3<&- 4<&- 5<&- 6<&- 7<&-
OFS="$IFS" IFS=:
if [ "x$1" = x ]; then echo 'usage: version.sh module' 1>&2; exit 1; fi
for A in rprompt hostname uname who
do
for D in $PATH
do
if [ ! -f $D/$A ]; then
continue
fi
case $A in
rprompt) LOCAL=`$A %h`
;;
hostname) LOCAL=`$A`
;;
uname) LOCAL=`$A -n`
;;
who) LOCAL=`$A am i | sed -e 's%^\(.*\)!.*$%\1%'`
;;
esac
break
done
if [ "x$LOCAL" != x ]; then
break
fi
done
IFS=
if [ ! -r version.major ]; then echo 0 > version.major; fi
if [ ! -r version.minor ]; then echo 1 > version.minor; fi
if [ ! -r version.local ]; then echo 0 > version.local; fi
echo `cat version.major` `cat version.minor` `cat version.local` $1 $2 > version
rm -f version.c version.local
awk ' { major = $1; minor = $2; local = $3 + 1; sfw = $4; \
if (NF >= 5) note = $5; else note = ""; }\
END { printf "char *%sversion = \"%s%s %d.%d #%d ", sfw, sfw, note, major, minor, local; \
printf "%d\n", local > "version.local"; }' < version
echo '('$LOCAL') of '`date`'";'
rm -f version