Dear all, I read about sed last week and now, I do some extraction from a file using sed, that is fine, Now, I would like to change the data in the first column to the line number say
1 3 3 0 0 0 1 3 35 34
16 3 3 0 0 0 34 35 33 19
31 3 3 0 0 0 19 33 71 68
46 3 3 0 0 0 68 71 72 69
61 3 3 0 0 0 69 72 73 70
76 3 3 0 0 0 70 73 67 53
and change the first column to 1 to 6, how can I do this in awk or sed? Best, Umut