Date: Tue, 15 Aug 2023 18:58:51 +0200 From: Stefan Esser <se@FreeBSD.org> To: Graham Perrin <grahamperrin@gmail.com> Cc: freebsd-pkg@freebsd.org Subject: Re: pkg query --evaluate Message-ID: <8987c03b-8630-48e2-a303-6bbd9ff1900f@FreeBSD.org> In-Reply-To: <835b25ff-81a5-6c18-f335-e8141c8da81a@gmail.com> References: <88d40ec4-1b5a-4d5e-b6f7-618a3b31fdbb@gmail.com> <835b25ff-81a5-6c18-f335-e8141c8da81a@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 15.08.23 um 17:33 schrieb Graham Perrin: > On 15/08/2023 08:30, Graham Perrin wrote: > >> … >> >> <https://man.freebsd.org/cgi/man.cgi?query=pkg-query&sektion=8&manpath=freebsd-ports> > > I'm probably closer to understanding, but can't figure out how to find packages > that have a particular string in their message. > > For example: > > % pkg query --evaluate '%m = me@forkbomb9.ch' %o > net-mgmt/netdata > % pkg query %M netdata > On install: > Quick start for local-only use: > > 1. sysrc netdata_enable="YES" > 2. service netdata start > 3. Go to http://localhost:19999/ > 4. <Optional> Connect to Netdata Cloud using the netdata-claim.sh script: > https://learn.netdata.cloud/docs/agent/claim#claiming-script > > % pkg query --evaluate '%M ~ netdata' %o > % > > Where the third command did not find a package with the phrase 'netdata' in its > message, what am I doing wrong? Please try the following command instead: % pkg query -e '%M ~ *netdata*' %o Regards, STefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8987c03b-8630-48e2-a303-6bbd9ff1900f>
