If we do run tests with POSIXLY_CORRECT set, then we need to be very explicit in the spec and man pages.
George (gk4) Andrew Josey wrote: > > hi, > For the getopts failures I found setting POSIXLY_CORRECT=true > gets them to pass. What is our policy regarding this > environment setting? Have we run the test suites with this > set on? > > To quote the source... > > /* This version of `getopt' appears to the caller like standard Unix `getopt' > but it behaves differently for the user, since it allows the user > to intersperse the options with the other arguments. > > As `getopt' works, it permutes the elements of ARGV so that, > when it is done, all the options precede everything else. Thus > all application programs are extended to handle flexible argument order. > > Setting the environment variable POSIXLY_CORRECT disables permutation. > Then the behavior is completely standard. > > regards > Andrew -- George Kraft IV [EMAIL PROTECTED]
