minor fixup for -e option
This commit is contained in:
parent
40a0bc2475
commit
966a060e98
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: pkg_info.1,v 1.9 1998/08/27 12:54:03 agc Exp $
|
||||
.\" $NetBSD: pkg_info.1,v 1.10 1998/09/12 21:59:18 hubertf Exp $
|
||||
.\"
|
||||
.\" FreeBSD install - a package for the installation and maintainance
|
||||
.\" of non-core utilities.
|
||||
@ -55,18 +55,26 @@ Show the install-message file (if any) for each package.
|
||||
.It Fl d
|
||||
Show the long-description field for each package.
|
||||
.It Fl e Ar pkg-name
|
||||
This option
|
||||
allows you to test for the presence of another (perhaps
|
||||
prerequisite) package from a script.
|
||||
If the package identified by
|
||||
.Ar pkg-name
|
||||
is currently installed, return 0, otherwise return 1.
|
||||
If the given pkg-name contains a
|
||||
In addition, the names of any package(s) found installed are printed to
|
||||
stdout unless turned off using the
|
||||
.Fl q
|
||||
option.
|
||||
|
||||
If the given
|
||||
.Ar pkg-name
|
||||
contains a
|
||||
shell metacharacter, it will be matched against all installed
|
||||
packages using
|
||||
.Xr fnmatch 3 ,
|
||||
and any packages found installed are printed to stdout, one name per
|
||||
line.
|
||||
.Xr fnmatch 3 .
|
||||
.Xr csh 1
|
||||
style {,} alternates have also been implemented.
|
||||
Dewey decimal numbers can also be matched in a relational manner,
|
||||
style {,} alternates have also been implemented in addition to this.
|
||||
Package version numbers can also be matched in a relational manner
|
||||
using the
|
||||
.Pa >=, <=, >
|
||||
and
|
||||
@ -77,12 +85,6 @@ For example,
|
||||
will match versions 1.3 and later of the
|
||||
.Pa name
|
||||
package.
|
||||
This printing can be turned off using the
|
||||
.Fl q
|
||||
option.
|
||||
This option
|
||||
allows you to test for the presence of another (perhaps
|
||||
prerequisite) package from a script.
|
||||
.It Fl f
|
||||
Show the packing list instructions for each package.
|
||||
.It Fl I
|
||||
|
Loading…
Reference in New Issue
Block a user