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):
#1 - Cristian Lupașcu / @clupasq
01/16/2017 at 12:44PM
01/16/2017 at 12:44PM
01/16/2017 at 01:09PM
01/16/2017 at 01:31PM
01/16/2017 at 01:42PM
01/16/2017 at 02:25PM
01/16/2017 at 02:28PM
01/16/2017 at 02:29PM
01/16/2017 at 02:41PM
01/16/2017 at 06:03PM
01/16/2017 at 06:25PM
01/16/2017 at 07:32PM
01/16/2017 at 08:33PM
01/16/2017 at 09:51PM
01/17/2017 at 12:46AM
01/17/2017 at 07:03AM
01/17/2017 at 07:13AM
01/18/2017 at 03:20AM
01/18/2017 at 09:03AM
01/18/2017 at 03:21PM
#21 - Jon E. Eguiluz 🏳️🌈 / @viroide
01/18/2017 at 05:35PM
01/19/2017 at 05:45PM
01/19/2017 at 11:56PM
01/20/2017 at 10:13AM
01/21/2017 at 12:06AM
01/21/2017 at 02:53PM
01/22/2017 at 02:12AM
01/23/2017 at 08:33PM
01/24/2017 at 04:08AM
01/24/2017 at 06:57PM