Bug 224178 - Add entry about using pkg-query to generate 10amd64-local-workstation-pkglist
Summary: Add entry about using pkg-query to generate 10amd64-local-workstation-pkglist
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Documentation (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-doc mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-08 15:41 UTC by D. Ebdrup
Modified: 2017-12-09 20:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description D. Ebdrup 2017-12-08 15:41:02 UTC
Since pkg-query has a lot of useful little examples, it might be smart to add a note about using the example of "pkg query -e '%a =0' %o" to generate the contents of the 10amd64-local-workstation-pkglist used as an example for documentation.
This example from pkg-query generates a list of all the packages that don't have the automatic flag, which means they're dependencies for something the user installed.