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
...
1,2c1
< 1 2472
< 1 664
---
> 1 2472 664
4,5c3
< 10 4135
< 10 5606
---
> 10 4135 5606
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock
139 remaining solutions by
signing in and submitting your own entry
140 active golfers, 313 entries
Leaderboard (lowest score wins):
01/16/2017 at 12:46PM
#92 - AleksandarTrifunovic / @akstrfn
01/16/2017 at 01:17PM
01/16/2017 at 03:09PM
01/16/2017 at 06:56PM
01/16/2017 at 11:23PM
01/17/2017 at 04:49AM
01/17/2017 at 10:58AM
01/18/2017 at 03:44PM
01/19/2017 at 07:43PM
01/27/2017 at 11:06PM
01/28/2017 at 01:10AM
01/28/2017 at 01:31AM
01/30/2017 at 04:52AM
02/02/2017 at 09:10PM
02/06/2017 at 02:18PM
02/09/2017 at 08:30AM
02/19/2017 at 07:02AM
02/24/2017 at 12:32PM
02/24/2017 at 02:55PM
03/10/2017 at 07:20PM
03/12/2017 at 11:21AM
03/15/2017 at 11:46PM
03/16/2017 at 01:55PM
03/20/2017 at 10:52AM
03/23/2017 at 05:23AM
04/04/2017 at 07:48PM
04/10/2017 at 11:34AM
05/05/2017 at 02:55AM
05/05/2017 at 11:02PM
06/08/2017 at 05:52PM