Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 5d6b72521c6d070006bded72

Extract wireshark capture filter

Extract wireshark capture filter from IP plan

Start file
oam_net               10.81.137.0/29    10.81.137.1-10.81.137.6      10.81.137.6    2300
traffic_net_1         10.81.137.16/28   10.81.137.17-10.81.137.30    10.81.137.30   2301
metallb_default_pool  21.21.0.0/24      21.21.0.1-21.21.0.254        21.21.0.254    -
director_ip           10.81.137.0/29    10.81.137.5-10.81.137.5      10.81.137.6    -
oam_net               10.81.137.8/29    10.81.137.9-10.81.137.14     10.81.137.14   2302
traffic_net_1         10.81.137.32/28   10.81.137.33-10.81.137.46    10.81.137.46   2303
istio_ip_1            10.81.139.1/32    10.81.139.1-10.81.139.1      -              -
End file
net 10.81.137.0/29 or net 10.81.137.16/28 or net 21.21.0.0/24 or net 10.81.137.0/29 or net 10.81.137.8/29 or net 10.81.137.32/28 or net 10.81.139.1/32

View Diff

1,7c1
< oam_net               10.81.137.0/29    10.81.137.1-10.81.137.6      10.81.137.6    2300
< traffic_net_1         10.81.137.16/28   10.81.137.17-10.81.137.30    10.81.137.30   2301
< metallb_default_pool  21.21.0.0/24      21.21.0.1-21.21.0.254        21.21.0.254    -
< director_ip           10.81.137.0/29    10.81.137.5-10.81.137.5      10.81.137.6    -
< oam_net               10.81.137.8/29    10.81.137.9-10.81.137.14     10.81.137.14   2302
< traffic_net_1         10.81.137.32/28   10.81.137.33-10.81.137.46    10.81.137.46   2303
< istio_ip_1            10.81.139.1/32    10.81.139.1-10.81.139.1      -              -
---
> net 10.81.137.0/29 or net 10.81.137.16/28 or net 21.21.0.0/24 or net 10.81.137.0/29 or net 10.81.137.8/29 or net 10.81.137.32/28 or net 10.81.139.1/32

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 43 remaining solutions by signing in and submitting your own entry
#44 Antwane Mason / @admason1413 - Score: 66 - 09/13/19 @ 19:52
:%s/[a-z1_]\++<BS>\s\+\([0-9.//]\+\)\p*/net \1<CR>:!<BS>1,$-1s/\n/ or /<CR>:x<CR>

0 comments


Created by: @rax0m

44 active golfers, 129 entries

Leaderboard (lowest score wins):
26
#1 - Norbert / @mullno

09/01/2019 at 02:23PM

26
#2 - Smylers / @Smylers2

09/01/2019 at 08:05PM

26
#3 - Ron Holt / @ron_holt

09/02/2019 at 12:08AM

26
#4 - tPenguinLTG / @tpenguinltg

09/02/2019 at 03:28AM

26
#5 - Saki Gw / @Sakigw

09/02/2019 at 01:00PM

26
#6 - Andrzej Wąsowski / @AndrzejWasowski

09/03/2019 at 12:34PM

26
#7 - sooqua / @sooqua

09/04/2019 at 12:04PM

26
#8 - John Braxler / @braxler

09/04/2019 at 09:04PM

26
#9 - Oskar Fridell / @rax0m

09/16/2019 at 09:41AM

26
#10 - Cassandra / @kascein

09/17/2019 at 08:56PM

26
#11 - Adam Hartz / @awareofnow

09/20/2019 at 12:40AM

26
#12 - Viktor Styrud / @Visklol

09/24/2019 at 08:51AM

26
#13 - vimgolfer / @vimgolfer7

09/29/2019 at 04:04AM

26
#14 - Sam O'Malley / @Samuel_OMalley

10/12/2019 at 04:27AM

26
#15 - Mario Olofo / @mario_olofo

10/21/2019 at 07:32PM

27
#16 - Titouan Teyssier / @TitouanT_

09/01/2019 at 08:00AM

27
#17 - Ivo Blöchliger / @aigledesalpes

09/01/2019 at 05:04PM

27
#18 - John / @JohnJDoe2

09/02/2019 at 06:53AM

27
#19 - dpetrovic_vimgolf / @DpetrovicV

09/02/2019 at 11:43AM

27
#20 - blub / @agorilladriving

09/02/2019 at 01:00PM

27
#21 - Jonghyun Yun / @JonghyunYun

09/02/2019 at 02:50PM

27
#22 - Dax / @zacoxi

09/03/2019 at 01:41AM

27
#23 - Christopher / @Rephiscorth

09/03/2019 at 03:54PM

27
#24 - Baine Wedlock / @BaineWedlock

09/06/2019 at 09:10AM

27
#25 - Lory / @Lory46845742

11/07/2019 at 02:26PM

28
#26 - Καράτε Μόνο / @karate_mono

09/02/2019 at 10:12AM

28
#27 - Алексей Кашуба / @Alex_Kashuba

09/02/2019 at 09:17PM

30
#28 - José / @AngelGaldamez

09/23/2019 at 01:46AM

31
#29 - greengreen / @greengr09073862

09/01/2019 at 01:57PM

31
#30 - Andrew Blokzyl / @linuxKd

09/03/2019 at 07:28PM