Hrvoje Niksic <[EMAIL PROTECTED]> writes:

> What Wget could do to ensure consistency is unset the variable
> POSIXLY_CORRECT during option processing.  All other effects of
> POSIXLY_CORRECT on getopt (such as use of "illegal" rather than
> "invalid" in the error message) are negligible.  To me that seems a
> better (or less bad) solution than just documenting the inconsistency.
> 
> What do you think?

You would have to take care that it's restored to its original setting for
--execute. Otherwise that seems to be as good an option as any. I'm surprised
getopt doesn't have an option to explicitly keep the reordering behaviour
regardless of the environment variable though.

-- 
greg

Reply via email to