I have many files named as such:
04-06-2004.out
04-07-2004.out
etc..
The files have the following data..
04/06/2004
0 2797
1 17
150 1277
196 436
239 34
41 14
54 4
58 2
59 2
84 22
04/07/2004
0 5389
1 6
150 372
196 32
239 56
28 2
49 1
52 12
54 6
58 21
59 4
80 1
84 28
96 126
98 1
The first line always starts with the date, the number on the left must stay relative to the number on the right, the left is an error code, the number on the right is the times that error code happened.
What I need to do is, take each day's files and make them like this.
Code 04/06/2004 04/07/2004
0 2797 5389
1 1277 6
28 0 2
41 14 0
49 0 1
52 0 12
54 4 6
58 2 21
59 2 4
80 0 1
84 22 28
96 0 126
98 0 1
150 1277 372
196 436 32
239 34 56
Thanks for any help...
04-06-2004.out
04-07-2004.out
etc..
The files have the following data..
04/06/2004
0 2797
1 17
150 1277
196 436
239 34
41 14
54 4
58 2
59 2
84 22
04/07/2004
0 5389
1 6
150 372
196 32
239 56
28 2
49 1
52 12
54 6
58 21
59 4
80 1
84 28
96 126
98 1
The first line always starts with the date, the number on the left must stay relative to the number on the right, the left is an error code, the number on the right is the times that error code happened.
What I need to do is, take each day's files and make them like this.
Code 04/06/2004 04/07/2004
0 2797 5389
1 1277 6
28 0 2
41 14 0
49 0 1
52 0 12
54 4 6
58 2 21
59 2 4
80 0 1
84 22 28
96 0 126
98 0 1
150 1277 372
196 436 32
239 34 56
Thanks for any help...