Hello everyone,
I'm sorry if this sounds like a stupid question but I've tried searching and haven't been able to find a suitable answer.
Is there a timer software with an unlimited lap feature for linux or as a java applet?
Something like
this lap timer.
If not, then what's the quickest way to make a simple script that will record the time whenever a key is pressed.
What I basically want to do is start a timer and then whenever I press the space bar, have:
1. the time elapsed since the last press
2. the time elapsed since the timer was started
recorded into a text file. I want to have this repeated an unlimited number of times.
So, the generated text file should look something like this:
#HH:MM:SS.sss = hours:minutes:seconds.seconds
#ELAPSED----------LAP
00:00:00.000----------00:00:00.000
00:00:00.675----------00:00:00.675
00:00:01.775----------00:00:01.100
00:00:34.000----------00:00:32.225
00:00:37.500----------00:00:03.500
00:21:11.000----------00:20:33.500
00:21:12.000----------00:00:01.000
00:59:59.000----------00:38:47.000
02:00:00.123----------01:00:01.123
02:00:01.453----------00:00:01.453
.
.
.
The way I'm doing this currently is binding an alias to the date command and having the output appended to a text file and then processing and formatting that data. Something that automatically does all this in one step would be great.
Thanks for any help and any pointers!
D