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: Closed Overcome By Events
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-08 15:41 UTC by Daniel Ebdrup Jensen
Modified: 2020-02-08 12:12 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 Daniel Ebdrup Jensen freebsd_committer freebsd_triage 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.
Comment 1 Daniel Ebdrup Jensen freebsd_committer freebsd_triage 2020-02-08 12:12:52 UTC
I will write a diff for this and submit it to reviews.freebsd.org instead.