Joerg Schilling schrieb:
> Thomas Maier-Komor <[EMAIL PROTECTED]> wrote:
> 
>> Hi,
>>
>> I've just stumbled across that ksh93 doesn't accept getopts strings for
>> long options that are accepted in the old ksh (e.g. 'h(help)').
> 
> This is a result from using the Sun variant of getopt(3).
> 
> The way it implements long options is not well planned as it is impossible
> to have long options without associated short options.
> 
> ksh93 is completely based on AT&T code and uses it's own getopt that is 
> different from the one in libc.
> 
> Jörg
> 

Jörg, thank you very much for the insight. How would one write a script 
that works both with Solaris 10's ksh and OpenSolaris' ksh93 that 
accepts long options?

Is it possible or should I switch to bash?!

- Thomas
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to