On 11/05/2014 08:27, A.J. 'Fonz' van Werven wrote:
> Matthew Seaman wrote:
> 
>> so try running 'pkg autoremove -n' and inspect the output to see what
>> looks suitable.
> 
> Thanks. As a followup question: is there a "pkg query" command that
> produces the same list as "pkg autoremove -n", but without the additional
> output?

You should try lokking at the pkg-query(8) man page.  It's really quite
informative.  It told me that the answer to your question is:

   pkg query -e "%a = 1 && %#r = 0" %o

        Cheers,

        Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to