this scipt needs to be executed in cygwin.. (a mini windows version of linux)



you can download the tool here:
http://www.cygwin.com/


once installed it should create a link on the desktop execute it and go to the folder you have unzipped the CrashHandlerServer42Testing 

useful commands 
cd (moves between directories with tab you autocomplete... it's CASE SENSITIVE)
pwd (shows the current directory)
less (read a file)
./filename (execute filename)

enter in CrashHandlerServer42Testing and run:
./tools/newErrorLogs.sh


the script does the following:
1) takes the number of seconds passed since the 1st gen 1970
2) search in the folders for files called "error.log"
3) search in the files found for a pattern like 
	<line start><number>) <aWord>::<sequence with at least one number><anything else><line end>
	replace the <sequence with at least one number> with the data found in point 1)
3.1) in the same file removes multiple \r occurrences that appear between a number an a parentesis (this because when we get the date some newlines are saved as well)
3.2) put \r at the end of each line (otherwise the crash handler crash Oo)
4) takes the current data + one month
5) replace in files called FutureGame.log the build time with the one found in point 1) (used in order to test the "hours differences" setting in the jiraPlugin
