DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T v

⟦3bf79e592⟧ TextFile

    Length: 612 (0x264)
    Types: TextFile
    Names: »version.sh«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z« 
        └─⟦c75e36ecb⟧ 
            └─⟦this⟧ »mh-6.7/papers/mh6.5/version.sh« 
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/doc/cn-isdn/version.sh« 
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/doc/cn-isdn/version.sh« 
            └─⟦this⟧ »isode-6.0/doc/whitepages/administrator/version.sh« 
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« 
        └─⟦e5a54fb17⟧ 
            └─⟦this⟧ »pp-5.0/doc/manual/volume0/version.sh« 
            └─⟦this⟧ »pp-5.0/doc/manual/volume1/version.sh« 
            └─⟦this⟧ »pp-5.0/doc/manual/volume2/version.sh« 
            └─⟦this⟧ »pp-5.0/doc/manual/volume3/version.sh« 

TextFile

if [ "x$1" = x ]; then echo 'usage: version.sh top-level-file' 1>&2; exit 1; fi

if [ ! -r $1.major ]; then
    echo 1 > $1.major
    rm -f $1.minor
fi
if [ ! -r $1.minor ]; then echo 0 > $1.minor; fi

echo '\begingroup' > $1.vrsn
echo '    \catcode`\#=12' >> $1.vrsn

echo `cat $1.major $1.minor` | \
awk '	{ major = $1; minor = $2 + 1}\
END	{ printf "    \\gdef\\versiontag/{#%d.%d}%%\n", major, minor >> "'$1.vrsn'"; \
	  printf "%d\n", minor > "'$1.minor'"; }'

echo '    \gdef\versiondate/{'`date`'}%' >> $1.vrsn
echo '\endgroup' >> $1.vrsn
echo '\typeout{Version \versiontag/ of \versiondate/}' >> $1.vrsn