Boyd Adamson wrote:
> On 3/12/07, Roland Mainz <roland.mainz at nrubsig.org> wrote:
> > Is there any special manual page section for:
> > 1. shell functions (e.g. $ function foobar { echo "blabla" ; } #)
> > 2. math shell functions (e.g. $ print $(( cos(666) )) #)
> >
> > [1] is close to normal commands (e.g. shell functions behave in many
> > cases just like normal commands) while [2] are closer to normal C/C++
> > library functions... but I am still not sure how I should categorise
> > this stuff...
>
> Since both of them are (I presume) specific to ksh93, rather than
> available for general use (e.g. callable from C programs directly) I
> wonder whether a new section may be suited -- 1ksh or something?
This isn't really ksh93-specific... or better: My question targets
ksh93's new C99 math functions but I think we have a more general issue
to solve first since are other shells like bash and zsh which have
similar facilities.
If there is no such thing... what about adding a section like "3SHELL"
and "3SHELLMATH" for the two types (or "1SHELLFUNC"... but that would
not be consistent since shell functions in ksh93/bash/zsh are loadable
on demand. Using something like "3KSH93SHELL" sounds like an overkill
and is slightly problematic since normal shell functions can be shared
between implementations of the POSIX shell if they restrict themselves
to the POSIX subset of their functionality) ?
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)