pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/pkg_install/files/info
Module Name: pkgsrc
Committed By: wiz
Date: Mon Jul 21 16:10:34 UTC 2025
Modified Files:
pkgsrc/pkgtools/pkg_install/files/info: pkg_info.1
Log Message:
pkg_install: fix pkg_info man page
Do not use combined >= etc. to make it easier to copy'n'paste.
>From Robert Whitlock in PR 59539.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/pkgtools/pkg_install/files/info/pkg_info.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/pkg_install/files/info/pkg_info.1
diff -u pkgsrc/pkgtools/pkg_install/files/info/pkg_info.1:1.34 pkgsrc/pkgtools/pkg_install/files/info/pkg_info.1:1.35
--- pkgsrc/pkgtools/pkg_install/files/info/pkg_info.1:1.34 Sun Jan 11 22:53:44 2015
+++ pkgsrc/pkgtools/pkg_install/files/info/pkg_info.1 Mon Jul 21 16:10:34 2025
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_info.1,v 1.34 2015/01/11 22:53:44 wiz Exp $
+.\" $NetBSD: pkg_info.1,v 1.35 2025/07/21 16:10:34 wiz Exp $
.\"
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
@@ -245,33 +245,33 @@ In addition,
style {,} alternates have been implemented.
Package version numbers can also be matched in a relational manner
using the
-.Dq \*[Ge] ,
-.Dq \*[Le] ,
-.Dq \*[Gt] ,
+.Dq >= ,
+.Dq <= ,
+.Dq > ,
and
-.Dq \*[Lt]
+.Dq <
operators.
For example,
-.Dl pkg_info -e 'name\*[Ge]1.3'
+.Dl pkg_info -e 'name>=1.3'
will match versions 1.3 and later of the
.Dq name
package.
(Make sure to use shell quoting.)
Additionally, ranges can be defined, by giving both a lower bound
.Po with
-.Dq \*[Gt]
+.Dq >
or
-.Dq \*[Ge]
+.Dq >=
.Pc
as well as an upper bound
.Po with
-.Dq \*[Lt]
+.Dq <
or
-. Dq \*[Le]
+. Dq <=
.Pc .
The lower bound has to come first.
For example,
-.Dl pkg_info -e 'name\*[Ge]1.3\*[Lt]2.0'
+.Dl pkg_info -e 'name>=1.3<2.0'
will match versions 1.3 (inclusive) to 2.0 (exclusive) of package
.Dq name .
.Pp
Home |
Main Index |
Thread Index |
Old Index