a bit tricky to change it multiple rows in one row and ...

Hi, I have an output file like:

1415971694 376 (12);
3434327831 376 (7);
2989082873 332 (3);
4075357577 332 (3);
1221064374 376 (2);
2372410470 376 (2);
2563564778 332 (2);
443221432 376 (1);
2478131897 376 (1);
2618850598 22 (1);
2559136519 376 (1);
1452300479 376 (1);
1915653342 376 (1);
2063345836 372 (1);

I would like a new file like:
a timestamp and each row adding up

2007-12-31:20:38:24: 1415971694 376 (12);3434327831 376 (7);2989082873 332 (3);.......1915653342 376 (1);2063345836 372 (1);

Thank u for the help and Happy new year!

# tr '\n' ' ' < file | xargs echo `date +%Y-%m-%d:%H:%M:%S`
2008-01-01:12:55:17 1415971694 376 (12); 3434327831 376 (7); 2989082873 332 (3); 4075357577 332 (3); 1221064374 376 (2); 2372410470 376 (2); 2563564778 332 (2); 443221432 376 (1); 2478131897 376 (1); 2618850598 22 (1); 2559136519 376 (1); 1452300479 376 (1); 1915653342 376 (1); 2063345836 372 (1);

you make my world :slight_smile:

Thank you guy and enjoy new year eve