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!
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!
Output
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