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 5f2479f81e886100063106fe

Mr. Hacker

Elvin is hacker. He has piece of users database from some social net site. Recently he installed Vim, and he wants to convert CSV DB to specific format `key=value' where `key' is login and `value' is password, but password in DB is encrypted in ROT13. Help him.

Start file
name,surname,login,password
john,smith,superjser,wfvfpbbyyby
fred,simpson,fredsi,qmcapivrs
will,popov,vimer123,rznpffhpxf
greg,rockin,gogin,yvahkvfzlsni
anastasia,krasivaya,heartinussr,patrioticwoman
lev,tolstoy,ltolstoy,jnenaqcrnprvfirelireluneqobbxgbernqnaqirelirelybatnununyvxrguvfcnffubjvjvyyerzrzorevguhu
End file
superjser=jsiscoollol
fredsi=dzpncvief
vimer123=emacssucks
gogin=linuxismyfav
heartinussr=cngevbgvpjbzna
ltolstoy=warandpeaceisveryveryhardbooktoreadandveryverylongahahalikethispasshowiwillrememberithuh

View Diff

1,7c1,6
< name,surname,login,password
< john,smith,superjser,wfvfpbbyyby
< fred,simpson,fredsi,qmcapivrs
< will,popov,vimer123,rznpffhpxf
< greg,rockin,gogin,yvahkvfzlsni
< anastasia,krasivaya,heartinussr,patrioticwoman
< lev,tolstoy,ltolstoy,jnenaqcrnprvfirelireluneqobbxgbernqnaqirelirelybatnununyvxrguvfcnffubjvjvyyerzrzorevguhu
---
> superjser=jsiscoollol
> fredsi=dzpncvief
> vimer123=emacssucks
> gogin=linuxismyfav
> heartinussr=cngevbgvpjbzna
> ltolstoy=warandpeaceisveryveryhardbooktoreadandveryverylongahahalikethispasshowiwillrememberithuh

Solutions by @_rustemb:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @_rustemb

35 active golfers, 89 entries

Solutions by @_rustemb:
25
#32 - Rustem B. / @_rustemb

07/31/2020 at 08:12PM