Date: Wed, 16 Dec 2020 03:02:14 +0000 From: Graham Perrin <grahamperrin@gmail.com> To: FreeBSD questions <freebsd-questions@freebsd.org> Subject: pkg-query(8) variables and %R for repository Message-ID: <210a4e88-1032-00f6-14bb-b389cfc48e26@gmail.com>
next in thread | raw e-mail | index | archive | help
pkg query -e '%a = 0' '%o %R' | grep poudriere | grep -v FreeBSD| sort – has the required result, a sorted list of non-automatic packages from my poudriere repository. I'd like a simpler list – just the origins – however this finds nothing: pkg query %o '%R = poudriere' What's the logic for %R being a pattern for a query, but _not_ a variable for an evaluation? Is there scope for an enhancement to pkg-query?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?210a4e88-1032-00f6-14bb-b389cfc48e26>