All, The main reason of this bug is the difference how to deal with '-' as a option between Solaris's getopt() and GNU's getopt(). Add a piece of code to deal with '-' in Solaris way.
Thanks Jim -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: bugfix#8304.diff URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20090508/dd7a07a0/attachment.ksh>
