getopt & output reordering

Max Bowsher maxb@ukf.net
Thu Aug 7 15:32:00 GMT 2003


Patrick Eisenacher wrote:
> Hi Max,
>
> thanks for your quick response. Indeed, setting the
> POSIXLY_INCORRECT_GETOPT environment variable did the trick and produces
> a result that is in synch with the man page.
>
> Since I don't know anything about the various flavours of getopts around
> and what is posixly correct and what not, and I guess a lot of other
> users don't know neither, how about updating the man pages to be in
> synch with the current behaviour and adding a paragraph on the
> POSIXLY_INCORRECT_GETOPT stuff?

PTC.

Given this:
>> ... because getopt is statically linked, this only works for
>> programs rebuilt since this change was made, and many haven't been yet.
such a patch is unlikely to be commited until after 1.5 has been released,
as most stuff will have been recompiled by then.


Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list