source:
doc/theses/colby_parsons_MMAth/version.sh
@
bf0c723
Last change on this file since bf0c723 was 601bd9e, checked in by , 21 months ago | |
---|---|
|
|
File size: 159 bytes |
Rev | Line | |
---|---|---|
[601bd9e] | 1 | #!/bin/bash |
2 | if [ ! -f version ]; then | |
3 | echo "0.0.0" > version | |
4 | fi | |
5 | ||
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.