Skip site navigation (1)Skip section navigation (2)
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: <http://docs.FreeBSD.org/cgi/mid.cgi?210a4e88-1032-00f6-14bb-b389cfc48e26>