Combines all items
For each line that starts with the same number I want to combine its contents
Start file
1 2472 1 664 2 2600 10 4135 10 5606 ...
End file
1 2472 664 2 2600 10 4135 5606 ...
View Diff
1,2c1 < 1 2472 < 1 664 --- > 1 2472 664 4,5c3 < 10 4135 < 10 5606 --- > 10 4135 5606
Solutions by @_bruab_:
Unlock 2 remaining solutions by signing in and submitting your own entry