Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2009 08:25:09 GMT
From:      Alexander Best <alexbestms@math.uni-muenster.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/135691: Wrong example in man page of pkgdb(1)
Message-ID:  <200906180825.n5I8P9TA063431@www.freebsd.org>
Resent-Message-ID: <200906180830.n5I8U1hT032655@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906180825.n5I8P9TA063431>