Sort files from hosts
Resume files by host. I hope you enjoy with this challenge
Start file
dartacan: /etc/hosts dartacan: /etc/httpd/conf/httpd.conf dartacan: /opt/scripts/list_vhosts mozart: /etc/resolv.conf mozart: /usr/bin/vim mozart: /usr/bin/awesome mozart: ~/.gem/ruby/2.1.0/bin/vimgolf gullit: /bin/bash gullit: /etc/hosts gullit: /usr/bin/xorg gullit: /usr/bin/xeyes gullit: /usr/bin/X gullit: /
End file
dartacan: /etc/hosts /etc/httpd/conf/httpd.conf /opt/scripts/list_vhosts mozart: /etc/resolv.conf /usr/bin/vim /usr/bin/awesome ~/.gem/ruby/2.1.0/bin/vimgolf gullit: /bin/bash /etc/hosts /usr/bin/xorg /usr/bin/xeyes /usr/bin/X /
View Diff
1,13c1,3 < dartacan: /etc/hosts < dartacan: /etc/httpd/conf/httpd.conf < dartacan: /opt/scripts/list_vhosts < mozart: /etc/resolv.conf < mozart: /usr/bin/vim < mozart: /usr/bin/awesome < mozart: ~/.gem/ruby/2.1.0/bin/vimgolf < gullit: /bin/bash < gullit: /etc/hosts < gullit: /usr/bin/xorg < gullit: /usr/bin/xeyes < gullit: /usr/bin/X < gullit: / --- > dartacan: /etc/hosts /etc/httpd/conf/httpd.conf /opt/scripts/list_vhosts > mozart: /etc/resolv.conf /usr/bin/vim /usr/bin/awesome ~/.gem/ruby/2.1.0/bin/vimgolf > gullit: /bin/bash /etc/hosts /usr/bin/xorg /usr/bin/xeyes /usr/bin/X /
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 75 remaining solutions by signing in and submitting your own entry
#76 Jurica / @Jurica34581259 - Score: 50 - 12/13/18 @ 17:06
jdwxjdwxkkJJ2j0dwxjdwxjdwx3kJJJ4Gqadwxjq4@a3G5JJZZ
0 comments