Subject: Re: pkg_info -F example?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 09/20/2002 03:23:33
On Fri, 20 Sep 2002, Jeremy C. Reed wrote:

> Can someone share some examples (and the correspoding output) of
> using the pkg_info(1) -F switch?

  # pkg_info -F -e /usr/pkg/share/mplayer/codecs.conf
  mplayer-share-0.90rc6

The tricky parts are

1) It doesn't use natural getopt() parsing, so the the "-F" has to
come before the "-e". It's probably a bug. Of course, it works fine
without "-e".

2) You must use supply full paths. It's simply searching a database
that has the full path as index. You can see everything that's in the
database with `pkg_admin dump'.

Frederick