
24 Nov
2008
24 Nov
'08
9:34 a.m.
On Sun, Nov 23, 2008 at 07:10:52PM +0100, Bartlomiej Palmowski wrote:
Hi
Hello, [...]
"orphaned" ports can be found by issuing command: $ prt-get listinst -vv | grep -P '^\w+\s.*?-[[:graph:]]$'
Not all, the regexp doesn't catch e.g. '-' in port-names. Using awk this can be written much simpler as $ prt-get listinst -vv | awk 'NF<3' but I'd suggest to use prtorphan from opt/prt-utils. best regards Juergen -- Juergen Daubert | mailto:jue@jue.li Korb, Germany | http://jue.li/crux