[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pkg_info output?



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. 
_______________________________________________
freebsd-questions_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org