mk_cmds1
Error table compiler
Usage
mk_cmds file
Overview
Mk_cmds converts a table listing command names and associated help messages into a C source file suitable for use with the ss(3) library.
The source file name must end with a suffix of ``.ct''; the file consists of a declaration supplying the name of the command table:
command_table name
followed by entries of the form:
[ request | unimplemented ] name, " string "[, abbrev]...;
and a final
end
to indicate the end of the table.
A C source file is generated which should be compiled and linked with the object files use the ss library.
A ``#'' in the source file is treated as a comment character, and all remaining text to the end of the source line will be ignored.
History
- Arch Linux 2026-11-01 to Debian 3.1 (Sarge): the text shown here
- Debian 3.0 (Woody) to Debian 2.2 (Potato)
- Debian 2.1 (Slink) to Debian 2.0 (Hamm)