On Tue, Jun 3, 2008 at 9:57 AM, Xavier <shiningxc@gmail.com> wrote:
On Tue, Jun 3, 2008 at 4:32 PM, Alessio Bolognino <themolok.ml@gmail.com> wrote:
Actually FreeBSD and NetBSD have in their port tree "getopt", which is this one: http://software.frodo.looijaard.name/getopt/ as you can see, is the same getopt in util-linux; in OpenBSD's tree is called gnugetopt, but it's still the same software. In Mac OS X it can be installed with macports, and it's called "getopt".
Now I am confused. Do they all include a getopt in their base system, for example as /bin/getopt , and then external getopt which install as /usr/bin/getopt or something? The binary name is getopt on all except on openbsd where it is gnugetopt? Or were you just talking about the package / port name?
In any cases, this is very interesting, are you able to check it to be sure it works? Or anyone else?
Yeah, I'm confused as well, wow. I didn't know it was this complex of a situation. I would love to see the following: 1. Where does getopt definitely work and definitely not work "out of the box"? 2. Where is (GNU) getopt available if it is installed? At first I was convinced we shouldn't use it, but now not so much. -Dan