1 .\" Copyright (c) 2003 Theodore Ts'o
3 .TH MK_CMDS 1 "2003" E2FSPROGS
5 mk_cmds \- error table compiler
11 converts a table listing command names and associated help messages
12 into a C source file suitable for use with the
16 The source file name must end with a suffix of ``.ct''; the file
17 consists of a declaration supplying the name of the command table:
22 followed by entries of the form:
38 to indicate the end of the table.
40 A C source file is generated which should be compiled and linked
41 with the object files use the ss library.
43 A ``#'' in the source file is treated as a comment character, and all
44 remaining text to the end of the source line will be ignored.
50 uses a very simple parser based on
52 and this current version of
54 uses an awk/sed combination of scripts,
55 its error recovery leaves much to be desired.