Subject: Re: pkg_info -F example?
To: Frederick Bruckman <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 09/20/2002 21:39:00
On Fri, 20 Sep 2002, Frederick Bruckman wrote:
> 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

Um, you don't seem to understand how getopt(3) works.

If you have a getopt string of "Fe:", the next argument after "-e" is
taken, thus "-e -F foo" will take "-F" as the argument of "-e". Likewise,
if you use "-eF foo", the arg for "-e" will be "F".

That's normal behaviour!

The only program doing this different (today :-) is tar, where you first
give all the options, then all the args. But that's in no way what we have

 - Hubert

Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics ->
* Setup  ->
Of course with your #1 IPv6 ready operating system ->