packages listing

Teske, Devin Devin.Teske at fisglobal.com
Sun Feb 10 13:09:55 UTC 2013


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.


More information about the freebsd-questions mailing list