From nobody Fri Mar 22 09:46:05 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V1HXS1Kr6z5GCZ6 for ; Fri, 22 Mar 2024 09:46:32 +0000 (UTC) (envelope-from lain@fair.moe) Received: from mail.076.ne.jp (mail.076.ne.jp [45.76.218.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4V1HXQ38Krz4cRY for ; Fri, 22 Mar 2024 09:46:30 +0000 (UTC) (envelope-from lain@fair.moe) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=076.ne.jp header.s=dkim header.b=Bz5OzRzT; dmarc=none; spf=none (mx1.freebsd.org: domain of lain@fair.moe has no SPF policy when checking 45.76.218.69) smtp.mailfrom=lain@fair.moe Received: from mail.076.ne.jp (localhost [127.0.0.1]) by mail.076.ne.jp (Postfix) with ESMTP id 4V1HXF4RDnzW0s0 for ; Fri, 22 Mar 2024 18:46:21 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=076.ne.jp; h= user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:to:from:date; s= dkim; t=1711100780; x=1713692781; bh=Y3rlyE/n2WgjpkAcjU9VMP257wk dFzrmU8Up7oAWEGA=; b=Bz5OzRzTvJkCvA97vPKHLuq/mwVPhBW/ff9KSKqaky5 TwIn6bkCBwUfRILowUT3hs5uNTkoOabdGmYoc98q9lx95t3CCUIi1vHTrfT77G1y QaCu/eutHKect59zMYRofxYqLmyLv3tDYPGFTmDSaA6XzICkmGjtDXEAqn4Ws17L +NQ9THVYJZNDSm0FGFOG1++YJTiUbeGEoFfFwHOkuH6L9ZIrNWgYewuaQ37rRYqj Fbw8knjqfd3jgDl6XZgjGOR8RYtaO0Da6VQjameY3s//LKdsrsbZ3E/L9lspW6Cc uUBu/7BDKL9ZUWs2IhdrcSp8dkYSV0QrSeg/1UVtO+A== X-Virus-Scanned: Debian amavisd-new at guest.guest Received: from mail.076.ne.jp ([127.0.0.1]) by mail.076.ne.jp (mail.076.ne.jp [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EFac5UQQqmfR for ; Fri, 22 Mar 2024 18:46:20 +0900 (JST) Received: from mail.fair.moe (ip1.193.076.moe [219.117.254.193]) by mail.076.ne.jp (Postfix) with ESMTPSA id 4V1HXD55R4zW0rJ for ; Fri, 22 Mar 2024 18:46:20 +0900 (JST) Date: Fri, 22 Mar 2024 18:46:05 +0900 From: "lain." To: questions@freebsd.org Subject: Re: How do I get just the pkg version in pkg-search results? Message-ID: <6rdrwvmemstntzg2an5na3n7dxz6bob2lql6sxilebfchsd7vo@45dibnnsidnz> X-Location: =?utf-8?B?IkVhcnRoL+WcsOeQgyI=?= X-Operating-System: "GNU/Linux" References: <0b06e637-6b26-4d01-21f5-9d9419c3c64e@bluerosetech.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kq4n2u7ckwu5abgr" Content-Disposition: inline In-Reply-To: <0b06e637-6b26-4d01-21f5-9d9419c3c64e@bluerosetech.com> User-Agent: NeoMutt/20231221 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.90 / 15.00]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_DKIM_ALLOW(-0.20)[076.ne.jp:s=dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[fair.moe]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:45.76.192.0/19, country:US]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[076.ne.jp:+] X-Rspamd-Queue-Id: 4V1HXQ38Krz4cRY --kq4n2u7ckwu5abgr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2024=E5=B9=B403=E6=9C=8822=E6=97=A5 00:10, the silly list_freebsd@bluero= setech.com claimed to have said: > But all I need is the version string. Simply do: pkg rquery '%v' sqlite3 # pkg rquery '%v' sqlite3 3.44.0_1,1 pkg rquery '%v' emacs =20 29.1_2,3 The reason why I picked these 2 packages is because the one is already installed, and the other isn't, so it's to show you it works in both cases. --=20 lain. Did you know that? 90% of all emails sent on a daily basis are being sent in plain text, and i= t's super easy to intercept emails as they flow over the internet? Never send passwords, tokens, personal information, or other volunerable in= formation without proper PGP encryption! If you're writing your emails unencrypted, please consider sending PGP encr= ypted emails for security reasons. You can find my PGP public key at: https://fair.moe/lain.asc Every good email client is able to send encrypted emails. If yours can't, then you should consider switching to a secure email client= , because yours just sucks. My recommendations are Claws Mail or NeoMutt. For instructions on how to encrypt your emails: https://unixsheikh.com/tutorials/gnupg-tutorial.html --kq4n2u7ckwu5abgr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEozVhUpXECiNYIKIXtWNzC1Y29b0FAmX9U1oACgkQtWNzC1Y2 9b2JSwv/VH2zTZTZa3p0LeoX5jMmB3yDqBt2RIyzv2EeEd51YSnb6EZgucfSE9iU f9AbY4vqKNMBPtzJWujThBRY0tPxDi+UwRqGxwotv/EtRncUIgslImRPisX/3IYb R5pacuPQLKnWQjAIvlaLKrU50N0ymTTcTnlzIAMMhNjmYcBH2OSbOZNUnBq/p+aM WxHEq/rzZEaYMIs7UDrQ0eBCnWiREKMJ2qI43zWRVM4AEdqO1SJEQhPto+Wvta6b 5B+SmGgpfUZV0b5JU3dP0zdh7KPcIdrr77FJsi4LiP/awtkx6FARsb5wyw9Ius85 xAcv6dhB57nPieuMYbixryiajevm4lq+CcNtzhtatdXcd+8tZeP6s+GMW7c57Ix/ xndILQCNvdg4lDrg1RlBJdXsPKIBwNV3uuNRSSDRNPhCBJawU/mLi2WWNzyxPIiU TtWERP1OMdrrcjx8//1B6bMKxmTcGbVTnGrugu1wc9Unx4mocB62FBHVnFnkFw0R 2rTKGA50 =zQBb -----END PGP SIGNATURE----- --kq4n2u7ckwu5abgr--