On Sun, 10 Feb 2013, Nikos Vassiliadis wrote:

> On 2/10/2013 8:57 AM, Polytropon wrote:
> > On Sat, 9 Feb 2013 22:52:37 -0800 (PST), Dánielisz László wrote:
> >> Hi Everybody,
> >>
> >> Do you have any idea how can I list those installed packages
> >> that are not required by any other?
> >
> > You can use sysutils/pkg_cutleaves to determine those.
> >
> >
> 
> I use this:
> 
> #!/bin/sh
> pkg_info -R '*' | sed -n '
> /^Information for /{
>      N
>      N
>      /Required by:/d
>      s/^Information for \(.*\):\n\n$/\1/p
> }
> '

Just curious, why not use "pkg_info -Ra" instead of "pkg_info -R '*'" ?
-- 
Devin

_____________
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to