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/25/2017 at 02:41PM
01/26/2017 at 07:48AM
01/26/2017 at 09:30AM
01/27/2017 at 04:58AM
01/28/2017 at 06:57AM
01/30/2017 at 07:50PM
02/02/2017 at 02:00AM
02/03/2017 at 03:14PM
#39 - aselaIllayaparachchi / @asela38
02/05/2017 at 02:28AM
02/06/2017 at 04:11AM
02/12/2017 at 06:41PM
02/14/2017 at 01:49PM
02/17/2017 at 01:16PM
02/21/2017 at 01:39PM
02/25/2017 at 01:18AM
03/13/2017 at 10:02PM
03/19/2017 at 10:15AM
03/20/2017 at 09:25AM
03/20/2017 at 03:47PM
03/24/2017 at 01:07AM
03/27/2017 at 04:19AM
04/04/2017 at 07:52PM
04/12/2017 at 05:23PM
04/21/2017 at 06:25PM
04/26/2017 at 01:04AM
05/09/2017 at 12:04PM
05/18/2017 at 11:45PM
05/25/2017 at 05:02AM
06/06/2017 at 08:25PM
06/14/2017 at 02:55PM