here is an exmaple from src/cmd/tests/opt.tst

  getopts $'[-?\naha\n][-catalog?SpamCo][+NAME?eg - test example 
examples][Q:quote?Quote names according to 
\astyle\a:]:[style:=question][+EXAMPLES]{[+\none\ntwo][+\n\vthree\nfour][+\n\afive\nsix]}[+SEE
 ALSO?\begman\b(1)]' OPT --html

[+\n starts a <PRE><TT> paragraph

On Sat, 15 Mar 2008 23:10:48 +0100 Roland Mainz wrote:
> Is there somehow a way to get a HTML <pre>-like behaviour for the
> --man/--troff output of ksh93 "getopts" manpages ? I'd like to include
> some code examples (e.g. preformatted text) in such an embedded manpage
> but somehow fail to get it working... ;-(

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to