ftp.nice.ch/pub/next/unix/mail/mh.6.7.s.tar.gz#/mh/papers/tutorial/version.sh

This is version.sh in view mode; [Download] [Up]

if [ ! -r version ]; then echo 0 > version; fi
touch version
echo '\catcode`\#=12' > version.tex
awk '	{ version = $1 + 1; }\
END	{ printf "\\def\\versiontag/{#2.%d}%%\n", version >> "version.tex"; \
	  printf "%d\n", version > "version"; }' < version
echo '\def\versiondate/{'`date`'}%' >> version.tex
echo '\catcode`\#=6' >> version.tex
echo '\tell{Version \versiontag/ of \versiondate/}' >> version.tex

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.