pkg_info output?
David Armour
dfarmour at myrealbox.com
Sat Apr 30 23:48:28 PDT 2005
hello,
I just used the following log-on tip to produce the list of duplicate
pkg/ports installations below.
pkg_info | sort | sed -e 's/-[0-9].*$//' | uniq -c | grep -v '^[[:space:]]*1'
3 autoconf
3 automake
6 docbook
2 gcc
2 glib
2 gtk
2 libtool
2 perl
2 xorg-fonts
I have also just gawked my way (pun intended) through the sed manpage, but I'm
no programmer: I don't know what the output means. Warnings, translations,
hints, appreciated.
More information about the freebsd-questions
mailing list