LOcalisation for "getopts"'s "--man" output / was: Re: [ast-users] Re: [ksh93-integration-discuss] getopts function and manual page output

2006-11-17 Thread Roland Mainz
Glenn Fowler wrote: > > getopts --man lists getopts details > > note that you can get the usage string for any ast command/script by (ksh > here) > ksh '--??usage' 2>&1 | fmt -o > where fmt is the ast fmt and -o formats usage strings > without fmt -o the usage string will most likely con

LOcalisation for "getopts"'s "--man" output / was: Re: [ast-users] Re: [ksh93-integration-discuss] getopts function and manual page output

2006-11-17 Thread Glenn Fowler
On Fri, 17 Nov 2006 04:32:10 +0100 Roland Mainz wrote: > Glenn Fowler wrote: > > > > getopts --man lists getopts details > > > > note that you can get the usage string for any ast command/script by (ksh > > here) > > ksh '--??usage' 2>&1 | fmt -o > > where fmt is the ast fmt and -o form

[ast-users] Re: [ksh93-integration-discuss] getopts function and manual page output

2006-11-16 Thread Josh Hurst
On 11/15/06, Glenn Fowler wrote: > > getopts --man lists getopts details > > note that you can get the usage string for any ast command/script by (ksh > here) > ksh '--??usage' 2>&1 | fmt -o > where fmt is the ast fmt and -o formats usage strings > without fmt -o the usage string will mos

[ast-users] Re: [ksh93-integration-discuss] getopts function and manual page output

2006-11-16 Thread Glenn Fowler
here is an example that generates gencat(1) compatible message files for one of the components in the ast-base (also ast-open) package the examkple requires ast nmake to take advantage of the 'msgcat' base rules common action the example requires att nmake (for the base rules msgcat common action

[ksh93-integration-discuss] getopts function and manual page output

2006-11-15 Thread Roland Mainz
Josh Hurst wrote: > > How can I get the getopts function in ksh93 to output a full manual > page, including the long options? does anyone have an example script > which uses getopts with long options like '--test' as alias for '-t' > and prints a full manual page for '--man'? 1. I've looked a lit

[ast-users] Re: [ksh93-integration-discuss] getopts function and manual page output

2006-11-15 Thread Glenn Fowler
getopts --man lists getopts details note that you can get the usage string for any ast command/script by (ksh here) ksh '--??usage' 2>&1 | fmt -o where fmt is the ast fmt and -o formats usage strings without fmt -o the usage string will most likely contain little or no newlines use $'...

[ksh93-integration-discuss] getopts function and manual page output

2006-11-13 Thread Josh Hurst
How can I get the getopts function in ksh93 to output a full manual page, including the long options? does anyone have an example script which uses getopts with long options like '--test' as alias for '-t' and prints a full manual page for '--man'? -- Josh