source: doc/theses/thierry_delisle/version.sh @ 6b8643d

new-envwith_gc
Last change on this file since 6b8643d was 23c27039, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago

further harmonize document Makefile and documents

  • Property mode set to 100755
File size: 159 bytes
RevLine 
[9b4343e]1#!/bin/bash
[bf70aa9]2if [ ! -f version ]; then
3    echo "0.0.0" > version
[9b4343e]4fi
5
[bf70aa9]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.