mk_cmds man page on Archlinux

Man page or keyword search:  
man Server   11224 pages
apropos Keyword Search (all sections)
Output format
Archlinux logo
[printable version]

MK_CMDS(1)							    MK_CMDS(1)

NAME
       mk_cmds - error table compiler

SYNOPSIS
       mk_cmds file

DESCRIPTION
       Mk_cmds converts a table listing command names and associated help mes‐
       sages 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  con‐
       sists 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.

BUGS
       Since  the original mk_cmds uses a very simple parser based on yacc(1),
       and this current version of mk_cmds  uses  an  awk/sed  combination  of
       scripts, its error recovery leaves much to be desired.

SEE ALSO
       ss (3)

E2FSPROGS			     2003			    MK_CMDS(1)
[top]

List of man pages available for Archlinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net