The following C project contains the C source code and C examples used for cmdline: a c++ option-parsing framework. CmdLine is a C++ Library for parsing command-line arguments. It is approximately 2750 C++ source statements.
cmdparse is a command-line interface to CmdLine for Unix shell-scripts. It is approximately 1500 C++ source statements. Copyright Brad Appleton. Documentation at: http://www.enteract.com/~bradapp/ftp/src/libs/C++/CmdLine.html
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.
Project Files:
File Name | Size |
---|---|
Config.mk | 4836 |
bugs.man | 693 |
caveats.man | 1324 |
classes.man | 13789 |
cmdargs.man3 | 4588 |
cmdline.man3 | 4451 |
cmdparse.man1 | 22694 |
environ.man | 637 |
example.man | 2066 |
files.man | 603 |
macros.man | 867 |
Makefile | 3015 |
parsing.man | 4615 |
Makefile | 1336 |
MANIFEST | 4335 |
Overview | 10884 |
README | 9907 |
argtypes.c | 5373 |
argtypes.h | 6919 |
cmdparse.c | 23271 |
cmdparse.h | 3774 |
cmdparse.pl | 3937 |
cmdparse.tcl | 3772 |
fsm.c | 6527 |
fsm.h | 2340 |
main.c | 887 |
Makefile | 3370 |
quoted.c | 4138 |
quoted.h | 1692 |
shells.c | 17231 |
shells.h | 12492 |
shell_arg.c | 2991 |
shell_arg.h | 2889 |
syntax.c | 11619 |
syntax.h | 1514 |
argiter.c | 4070 |
arglist.h | 858 |
cmdarg.c | 10524 |
cmdargs.c | 17868 |
cmdargs.h | 32265 |
cmdline.c | 9004 |
cmdline.h | 30523 |
cmdtest.c | 8607 |
dump.c | 8090 |
exits.h | 1106 |
fifolist.c | 3292 |
fifolist.h | 7461 |
Makefile | 3564 |
parse.c | 5399 |
patchlevel.c | 1745 |
private.c | 20976 |
states.h | 2511 |
strindent.c | 9097 |
unix.c | 27988 |
usage.c | 9671 |
Makefile | 1323 |
Suggestions | 1151 |
TO-DO | 693 |