ports/135691: Wrong example in man page of pkgdb(1)

Alexander Best alexbestms at math.uni-muenster.de
Thu Jun 18 08:30:02 UTC 2009


>Number:         135691
>Category:       ports
>Synopsis:       Wrong example in man page of pkgdb(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 18 08:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Best
>Release:        8.0-CURRENT
>Organization:
>Environment:
FreeBSD moshnroll 8.0-CURRENT FreeBSD 8.0-CURRENT #63 r194284M: Tue Jun 16 14:56:49 CEST 2009     root at moshnroll:/usr/obj/usr/src/sys/ARUNDEL  i386
>Description:
the example at the end of the pkgdb(1) manual recommends to use the following command to get a list of files in /usr/local and /usr/X11R6 which don't belong to any package:

find /usr/local /usr/X11R6 -type f | xargs pkg_which -v | fgrep '?'

this command however will fail. the example should look like this:

find /usr/local /usr/X11R6 -print0 -type f | xargs -0 pkg_which -v | fgrep '?'
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list