Add a tip about pkg_info and checking for multiple installed versions

of a package/port.
This commit is contained in:
Giorgos Keramidas 2002-02-11 03:45:29 +00:00
parent d2f22d707a
commit 505e7511bc

View File

@ -469,3 +469,9 @@ write
This won't work if you don't have write permissions to the directory
and probably won't be suitable if you're editing through a symbolic link.
%
If you want to quickly check for duplicate package/port installations,
try the following pkg_info command.
pkg_info | sort | sed -e 's/-[0-9].*$//' | \
uniq -c | grep -v '^[[:space:]]*1'