argtable2
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
argtable2 ------------------------------------------ Argtable is an ANSI C library for parsing GNU style command line options with a minimum of fuss. It enables a program's command line syntax to be defined in the source code as an array of argtable structs. The command line is then parsed according to that specification and the resulting values are returned in those same structs where they are accessible to the main program. Both tagged (-v, --verbose, --foo=bar) and untagged arguments are supported, as are multiple instances of each argument. Syntax error handling is automatic and the library also provides the means for generating a textual description of the command line syntax, as in the following example: myprog [-lRv] [-k <int>] [-D MACRO]... [-o <output>] [--help] [--version] <file> [<file>]... -l, -L list files -R recurse through subdirectories -k, --scalar=<int> define scalar value k (default is 3) -D, --define=MACRO macro definitions -o <output> output file (default is "-") -v, --verbose, --debug verbose messages --help print this help and exit --version print version information and exit <file> input file(s) The default parsing, validation, and error reporting routines may be replaced by user-defined callbacks if desired, and new argtable data types may be created to parse user-defined argument types. The parsing itself is done using GNU getopt so the parser is 100% GNU compatible, and care has been taken to make the internal command line buffer handling secure against buffer overun attacks, as might be attempted with maliciously long command lines. Runtime requirements: cygwin-1.7.7-1 Build requirements: (besides corresponding -devel packages) autoconf-10-1 automake-4-10 binutils-2.21-1 cygport-0.10.3-1 gawk-3.1.8-1 gcc4-core-4.5.2-1 libtool-2.4-1 make-3.81-2 Canonical website: http:https://argtable.sourceforge.net/ Canonical download: mirror:https://sourceforge/argtable/argtable2-13.tar.gz ------------------------------------------- Build instructions: unpack argtable2-12-X-src.tar.bz2 if you use setup to install this src package, it will be unpacked under /usr/src automatically cd /usr/src cygport ./argtable2-13-X.cygport all This will create: /usr/src/argtable2-13-X-src.tar.bz2 /usr/src/argtable2-13-X.tar.bz2 /usr/src/libargtable2_0-13-X.tar.bz2 /usr/src/libargtable2-devel-13-X.tar.bz2 ------------------------------------------- Files included in the binary package: (argtable2) /usr/share/doc/Cygwin/argtable2.README /usr/share/doc/argtable2/AUTHORS /usr/share/doc/argtable2/COPYING /usr/share/doc/argtable2/ChangeLog /usr/share/doc/argtable2/README /usr/share/doc/argtable2/arg_int.gif /usr/share/doc/argtable2/argtable2-advanced.html /usr/share/doc/argtable2/argtable2-advanced.pdf /usr/share/doc/argtable2/argtable2-advanced.ps /usr/share/doc/argtable2/argtable2-intro.html /usr/share/doc/argtable2/argtable2-intro.pdf /usr/share/doc/argtable2/argtable2-intro.ps /usr/share/doc/argtable2/argtable2.html /usr/share/doc/argtable2/argtable2.pdf /usr/share/doc/argtable2/argtable2.ps /usr/share/doc/argtable2/argxxx.gif (libargtable2_0) /usr/bin/cygargtable2-0.dll (libargtable2-devel) /usr/include/argtable2.h /usr/lib/libargtable2.dll.a /usr/lib/libargtable2.la /usr/lib/pkgconfig/argtable2.pc /usr/share/doc/argtable2/example/Makefile /usr/share/doc/argtable2/example/README.txt /usr/share/doc/argtable2/example/argcustom.c /usr/share/doc/argtable2/example/argxxx.c /usr/share/doc/argtable2/example/argxxx.h /usr/share/doc/argtable2/example/callbacks.c /usr/share/doc/argtable2/example/echo.c /usr/share/doc/argtable2/example/hasoptvalue.c /usr/share/doc/argtable2/example/ls.c /usr/share/doc/argtable2/example/multisyntax.c /usr/share/doc/argtable2/example/mv.c /usr/share/doc/argtable2/example/myprog.c /usr/share/doc/argtable2/example/myprog_C89.c /usr/share/doc/argtable2/example/rm.c /usr/share/doc/argtable2/example/uname.c /usr/share/man/man3/argtable.3.gz /usr/share/man/man3/argtable2.3.gz ------------------ Port Notes: ----- version 13-1bl1 ----- Version bump. ----- version 12-1bl1 ----- Version bump. ----- version 11-1bl1 ----- Initial release for Cygwin-1.7 by fd0 <http:https://d.hatena.ne.jp/fd0>