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 54d5f51d20b05716be00036d

Sort with uniq OpenEmbedded package names

For each line take 4th dirname of path. For example: "alsa-utils", "gawk-3.1.5", ... But! But if previous result is "files", take 3rd dirname instead. For example: "mktemp", "mklibs" ... If version is present in package name (dash is the separator character), take it. For example: "apt-0.9.9.4" prevails over "apt". And finally, use sort -u to get unique names!

Start file
meta/recipes-devtools/qemu/qemu/fix-libcap-header-issue-on-some-distro.patch
meta/recipes-devtools/qemu/qemu/larger_default_ram_size.patch
meta/recipes-multimedia/alsa/alsa-utils/0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch
meta/recipes-devtools/apt/apt-0.9.9.4/no-ko-translation.patch
meta/recipes-extended/cracklib/cracklib/0001-packlib.c-support-dictionary-byte-order-dependent.patch
meta/recipes-extended/screen/screen/rpathfix.patch
meta/recipes-extended/lighttpd/lighttpd/acdefine.patch
meta/recipes-extended/cracklib/cracklib/0002-craklib-fix-testnum-and-teststr-failed.patch
meta/recipes-multimedia/tremor/tremor-20120314/obsolete_automake_macros.patch
meta/recipes-devtools/flex/files/do_not_create_pdf_doc.patch
meta/recipes-extended/gawk/gawk-3.1.5/obsolete_automake_macros.patch
meta/recipes-extended/mktemp/files/fix-parallel-make.patch
meta/recipes-extended/screen/screen-4.0.3/configure.patch
meta/recipes-extended/gawk/gawk-4.1.1/Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch
meta/recipes-devtools/qemu/qemu/configure-Fix-Darwin-target-detection.patch
meta/recipes-devtools/mklibs/files/sysrooted-ldso.patch
meta/recipes-extended/gawk/gawk-4.1.1/extension-Add-DESTDIR-prefix-to-remaining-pkgextensi.patch
meta/recipes-devtools/qemu/files/qemu-enlarge-env-entry-size.patch
meta/recipes-graphics/drm/libdrm/installtests-and-use-vimgolf.patch
meta/recipes-extended/lighttpd/lighttpd/pkgconfig.patch
meta/recipes-devtools/m4/m4/program_prefix.patch
meta/recipes-devtools/qemu/files/exclude-some-arm-EABI-obsolete-syscalls.patch
meta/recipes-devtools/m4/m4/ac_config_links.patch
meta/recipes-devtools/mklibs/files/add-missing-data-files.patch
meta/recipes-extended/mktemp/files/disable-strip.patch
meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch
meta/recipes-devtools/m4/m4/remove-gets.patch
meta/recipes-devtools/apt/files/db_linking_fix.patch
meta/recipes-devtools/qemu/qemu/disable-grabs.patch
meta/recipes-devtools/qemu/files/Qemu-Arm-versatilepb-Add-memory-size-checking.patch
meta/recipes-extended/screen/screen-4.0.3/screen-4.0.2-CVE-2009-1215.patch
meta/recipes-multimedia/alsa/alsa-utils/alsa-utils-aplay-interrupt-signal-handling-fix.patch
meta/recipes-devtools/apt/files/no-curl-hack.patch
meta/recipes-extended/screen/screen-4.0.3/fix-parallel-make.patch
meta/recipes-devtools/qemu/qemu/wacom.patch
meta/recipes-multimedia/tremor/tremor-20120314/tremor-arm-thumb2.patch
meta/recipes-devtools/xmlto/xmlto-0.0.26/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch
meta/recipes-devtools/apt/apt-0.9.9.4/rpathfix.patch
meta/recipes-devtools/apt/apt-0.9.9.4/nodoc.patch
End file
alsa-utils
apt-0.9.9.4
cracklib
flex
gawk-3.1.5
gawk-4.1.1
libdrm
lighttpd
m4
mklibs
mktemp
qemu
screen-4.0.3
tremor-20120314
xmlto-0.0.26

View Diff

1,39c1,15
< meta/recipes-devtools/qemu/qemu/fix-libcap-header-issue-on-some-distro.patch
< meta/recipes-devtools/qemu/qemu/larger_default_ram_size.patch
< meta/recipes-multimedia/alsa/alsa-utils/0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch
< meta/recipes-devtools/apt/apt-0.9.9.4/no-ko-translation.patch
< meta/recipes-extended/cracklib/cracklib/0001-packlib.c-support-dictionary-byte-order-dependent.patch
< meta/recipes-extended/screen/screen/rpathfix.patch
< meta/recipes-extended/lighttpd/lighttpd/acdefine.patch
< meta/recipes-extended/cracklib/cracklib/0002-craklib-fix-testnum-and-teststr-failed.patch
< meta/recipes-multimedia/tremor/tremor-20120314/obsolete_automake_macros.patch
< meta/recipes-devtools/flex/files/do_not_create_pdf_doc.patch
< meta/recipes-extended/gawk/gawk-3.1.5/obsolete_automake_macros.patch
< meta/recipes-extended/mktemp/files/fix-parallel-make.patch
< meta/recipes-extended/screen/screen-4.0.3/configure.patch
< meta/recipes-extended/gawk/gawk-4.1.1/Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch
< meta/recipes-devtools/qemu/qemu/configure-Fix-Darwin-target-detection.patch
< meta/recipes-devtools/mklibs/files/sysrooted-ldso.patch
< meta/recipes-extended/gawk/gawk-4.1.1/extension-Add-DESTDIR-prefix-to-remaining-pkgextensi.patch
< meta/recipes-devtools/qemu/files/qemu-enlarge-env-entry-size.patch
< meta/recipes-graphics/drm/libdrm/installtests-and-use-vimgolf.patch
< meta/recipes-extended/lighttpd/lighttpd/pkgconfig.patch
< meta/recipes-devtools/m4/m4/program_prefix.patch
< meta/recipes-devtools/qemu/files/exclude-some-arm-EABI-obsolete-syscalls.patch
< meta/recipes-devtools/m4/m4/ac_config_links.patch
< meta/recipes-devtools/mklibs/files/add-missing-data-files.patch
< meta/recipes-extended/mktemp/files/disable-strip.patch
< meta/recipes-devtools/m4/m4/fix_for_circular_dependency.patch
< meta/recipes-devtools/m4/m4/remove-gets.patch
< meta/recipes-devtools/apt/files/db_linking_fix.patch
< meta/recipes-devtools/qemu/qemu/disable-grabs.patch
< meta/recipes-devtools/qemu/files/Qemu-Arm-versatilepb-Add-memory-size-checking.patch
< meta/recipes-extended/screen/screen-4.0.3/screen-4.0.2-CVE-2009-1215.patch
< meta/recipes-multimedia/alsa/alsa-utils/alsa-utils-aplay-interrupt-signal-handling-fix.patch
< meta/recipes-devtools/apt/files/no-curl-hack.patch
< meta/recipes-extended/screen/screen-4.0.3/fix-parallel-make.patch
< meta/recipes-devtools/qemu/qemu/wacom.patch
< meta/recipes-multimedia/tremor/tremor-20120314/tremor-arm-thumb2.patch
< meta/recipes-devtools/xmlto/xmlto-0.0.26/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch
< meta/recipes-devtools/apt/apt-0.9.9.4/rpathfix.patch
< meta/recipes-devtools/apt/apt-0.9.9.4/nodoc.patch
---
> alsa-utils
> apt-0.9.9.4
> cracklib
> flex
> gawk-3.1.5
> gawk-4.1.1
> libdrm
> lighttpd
> m4
> mklibs
> mktemp
> qemu
> screen-4.0.3
> tremor-20120314
> xmlto-0.0.26

Solutions by @pftb12345:

Unlock 4 remaining solutions by signing in and submitting your own entry
Created by: @mcr05

15 active golfers, 45 entries

Solutions by @pftb12345:
43
#8 - pftb12345 / @pftb12345

04/13/2015 at 12:03AM

45
#>9 - pftb12345 / @pftb12345

04/12/2015 at 11:59PM

46
#>10 - pftb12345 / @pftb12345

04/12/2015 at 11:49PM

47
#>10 - pftb12345 / @pftb12345

04/12/2015 at 11:45PM