MAN page from Other libext2fs2-devel-1.34-2sls.i586.rpm
Section: User Commands (1)
mk_cmds - error table compiler
converts a table listing command names and associated help messagesinto a C source file suitable for use with thess
The source file name must end with a suffix of ``.ct''; the fileconsists of a declaration supplying the name of the command table:
followed by entries of the form:
[request|unimplemented] name,"string"[, abbrev]...;
and a final
to indicate the end of the table.
A C source file is generated which should be compiled and linkedwith the object files use the ss library.
A ``#'' in the source file is treated as a comment character, and allremaining text to the end of the source line will be ignored.
Since the originalmk_cmdsuses a very simple parser based onyacc(1),and this current version of mk_cmdsuses an awk/sed combination of scripts, its error recovery leaves much to be desired.
- SEE ALSO
This document was created byman2html,using the manual pages.