Subject: Re: pkg_info -F example?
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 09/20/2002 13:48:05
On Fri, 20 Sep 2002, Hubert Feyrer wrote:

> On Fri, 20 Sep 2002, Frederick Bruckman wrote:
> >   # 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".
>
> Hu? Please explain what you men by "doesn't use natural getopt() parsing",
> and where you suspect a bug?

All of the following should be equivalent, yet evidently are not:

fredb@tautology-> pkg_info -F -e /usr/pkg/share/mplayer/codecs.conf
mplayer-share-0.90rc6
fredb@tautology-> pkg_info -e -F /usr/pkg/share/mplayer/codecs.conf
fredb@tautology-> pkg_info -eF /usr/pkg/share/mplayer/codecs.conf
fredb@tautology-> pkg_info -Fe /usr/pkg/share/mplayer/codecs.conf
mplayer-share-0.90rc6


Frederick