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
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
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
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
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
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 $'...
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