Deleted Added
full compact
pkg_version.1 (174816) pkg_version.1 (179433)
1.\"
2.\" Copyright 1998 Bruce A. Mah
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 9 unchanged lines hidden (view full) ---

18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
1.\"
2.\" Copyright 1998 Bruce A. Mah
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 9 unchanged lines hidden (view full) ---

18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/usr.sbin/pkg_install/version/pkg_version.1 174816 2007-12-20 20:02:16Z gabor $
26.\" $FreeBSD: head/usr.sbin/pkg_install/version/pkg_version.1 179433 2008-05-30 14:26:09Z flz $
27.\"
27.\"
28.Dd July 27, 2005
28.Dd May 30, 2008
29.Dt PKG_VERSION 1
30.Os
31.Sh NAME
32.Nm pkg_version
33.Nd summarize installed versions of packages
34.Sh SYNOPSIS
35.Nm
36.Op Fl hIoqv

--- 76 unchanged lines hidden (view full) ---

113was unable to compare the version number of the installed package
114with the corresponding entry in the index.
115.El
116.Sh OPTIONS
117The
118.Nm
119utility supports several command-line arguments:
120.Bl -tag -width indent
29.Dt PKG_VERSION 1
30.Os
31.Sh NAME
32.Nm pkg_version
33.Nd summarize installed versions of packages
34.Sh SYNOPSIS
35.Nm
36.Op Fl hIoqv

--- 76 unchanged lines hidden (view full) ---

113was unable to compare the version number of the installed package
114with the corresponding entry in the index.
115.El
116.Sh OPTIONS
117The
118.Nm
119utility supports several command-line arguments:
120.Bl -tag -width indent
121.It Fl h
121.It Fl h , -help
122Print help message.
122Print help message.
123.It Fl I
123.It Fl I , -index-only
124Use only the index file for determining if a package is out of date.
125This is much faster than using the version number from a port's
126Makefile, at the expense of potentially giving an incorrect result if
127the index file is out of date.
124Use only the index file for determining if a package is out of date.
125This is much faster than using the version number from a port's
126Makefile, at the expense of potentially giving an incorrect result if
127the index file is out of date.
128.It Fl l
128.It Fl l , -status Ar limchar
129Limit the output to those packages whose status flag matches the
130character(s) in
131.Ar limchar .
132More than one character can be specified in
133.Ar limchar .
134Note that because some of the status flag characters are also special
135to the shell, it is best to quote
136.Ar limchar
137with single quotes.
129Limit the output to those packages whose status flag matches the
130character(s) in
131.Ar limchar .
132More than one character can be specified in
133.Ar limchar .
134Note that because some of the status flag characters are also special
135to the shell, it is best to quote
136.Ar limchar
137with single quotes.
138.It Fl L
138.It Fl L , -no-status Ar limchar
139Limit the output to those packages whose status flag does not match
140.Ar limchar .
141You may specify more than one character to match in
142.Ar limchar .
143Note that because some of the status flag characters are also special
144to the shell, it is best to quote
145.Ar limchar
146with single quotes.
139Limit the output to those packages whose status flag does not match
140.Ar limchar .
141You may specify more than one character to match in
142.Ar limchar .
143Note that because some of the status flag characters are also special
144to the shell, it is best to quote
145.Ar limchar
146with single quotes.
147.It Fl o
147.It Fl o , -show-origin
148Show the origin recorded on package generation instead of the package
149name.
148Show the origin recorded on package generation instead of the package
149name.
150.It Fl O
150.It Fl O , -origin Ar origin
151Only list packages whose registered origin is
152.Ar origin .
151Only list packages whose registered origin is
152.Ar origin .
153.It Fl q
153.It Fl q , -quiet
154Enable quiet output.
155Quiet output precludes printing the
156.Ar limchar
157when used with
158.Fl l
159or
160.Fl L .
161This is useful when used as the input to
162.Xr portupgrade 8 .
154Enable quiet output.
155Quiet output precludes printing the
156.Ar limchar
157when used with
158.Fl l
159or
160.Fl L .
161This is useful when used as the input to
162.Xr portupgrade 8 .
163.It Fl s
163.It Fl s , -match Ar string
164Limit the output to those packages whose names match a given
165.Ar string .
164Limit the output to those packages whose names match a given
165.Ar string .
166.It Fl X
166.It Fl X , -extended
167Interpret
168.Ar string
169as a extended regular expression.
170.It Fl t
171Test a pair of version number strings and exit.
172The output consists of one of the single characters
173.Li =
174(equal),

--- 82 unchanged lines hidden ---
167Interpret
168.Ar string
169as a extended regular expression.
170.It Fl t
171Test a pair of version number strings and exit.
172The output consists of one of the single characters
173.Li =
174(equal),

--- 82 unchanged lines hidden ---