Bash


Two simple but useful scripts. The first one is for incrementing build counts and can be called from a make file. The other one fetch some information from SVN repository and builds count to  creates version.h file.   The version.h file should be added in a project. That allows to embed revision number in build counts in binary file during application build process.  Click here to download.

svn_buil_count
Effect of running the get-version.sh script in GCC toolchain working copy.

Analysing debug messages can be tedious and time consuming.  This script I wrote to help me check if entries in log are made at proper time according to schedule.  The script and input date can be downloaded here.

To try the script type:
./script.sh  input_data_FAILURES_start0_interval60_window30.txt 0 30 60
or
./script.sh  input_data_start0_interval60_window30.txt 0 30 60