>> BTW Patrick cleared up the getopt question (it is /bin/getoptprog
>> now)
> No, please don't say that - it is /bin/getopt, it has always been
> that, and I hope it will always be that - no reason to start one
> more confusion. If by some accident you have a distribution that
> mistakenly puts getopt in /bin/getoptprog, then just "mv
> /bin/getoptprog /bin/getopt" to fix this bug.
may be in /bin or /usr/bin, but it is *not* required in /bin
(according the the Linux Filesystem Structure, which most Linux
distributions attempt to follow).
If you want to write a portable Linux script, you won't run it as
/bin/getopt, but as `getopt' using a PATH that includes /bin and
/usr/bin.
Dan
--
Daniel Quinlan Member of the League for Programming Freedom