Hello,

On Sat, Apr 17, 2010 at 11:10:30PM -0700, J.C. Roberts wrote:
> >Description:
> The `-E` flag of pkg_info no longer works. This might be a known issue
> or possibly documentation lagging behind recent changes.
>
> There's really no need for the `-E` flag to exist in pkg_info.
> 
> >How-To-Repeat:
> Make sure the file we want really is installed.
>     $ pkg_info -aL | grep zipnote
>     /usr/local/bin/zipnote
>     /usr/local/man/man1/zipnote.1
> 
> Try to find one of the above, and result is no output:
>     $ pkg_info -E zipnote
>     $

The full path to the file/directory must be specified:

$ pkg_info -E /usr/local/bin/zipnote
/usr/local/bin/zipnote: zip-3.0
zip-3.0             create/update ZIP files compatible with PKZip(tm)
$

Multiple packages may also be returned:

$ pkg_info -E /usr/local/share/xml/
/usr/local/share/xml: docbook-4.4,libglade2-2.6.2p2
docbook-4.4         technical documentation XML/SGML definitions
libglade2-2.6.2p2   library for loading GLADE interface files at runtime
$

Matthew

Reply via email to