I have a file in the following format:
"2004-04-19 12:25:57" 44 44
"2004-04-19 13:39:32" 36 36
"2004-04-19 14:00:53" 34 34
I need 2 new files:
a) A file which will replace "time" values of the first column of my file with numbers starting from 1, like this:
1 44 44
2 36 36
3 34 34
b) Another file which will replace "time" values of the first column of file with numbers unix tamestamp data, like this:
1082377557 44 44
1082381972 36 36
1082383253 34 34