David Korn wrote:
> Subject: Re: [shell-discuss] Change in getopts builtin behavior, ksh88 -> 
> ksh93
> --------
> > We discovered getopts has changed behavior wrt '+' options.  One can supply 
> > "+a"
> >
> > to getopts, and it will be parsed into an option preserving the + (so you 
> > can
> > tell it from -a).  However, ksh93 now requires a leading '+' in the 
> > optstring:
> 
> This is documented as item 27 in the COMPATIBILITY file.

I'll add a test for that to the Solaris ksh---->ksh93 migration scripts
(e.g. this will show up as warning (enable with
-errwarn=E_SH_COMPAT_SOLKSH88_GETOPTS_MISSINGPLUSOPT)) ...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to