source:
doc/theses/thierry_delisle_MMath/version.sh
@
12c1eef
Last change on this file since 12c1eef was 67982887, checked in by , 6 years ago | |
---|---|
|
|
File size: 159 bytes |
Rev | Line | |
---|---|---|
[9b4343e] | 1 | #!/bin/bash |
[bf70aa9] | 2 | if [ ! -f version ]; then |
3 | echo "0.0.0" > version | |
[9b4343e] | 4 | fi |
5 | ||
[bf70aa9] | 6 | sed -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.