source: doc/theses/thierry_delisle_MMath/version.sh @ 7db48364

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 7db48364 was 67982887, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

specialize thesis directory-names

  • Property mode set to 100755
File size: 159 bytes
Line 
1#!/bin/bash
2if [ ! -f version ]; then
3    echo "0.0.0" > version
4fi
5
6sed -r 's/([0-9]+\.[0-9]+.)([0-9]+)/echo "\1\$((\2+1))" > version/ge' version > /dev/null
Note: See TracBrowser for help on using the repository browser.