Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

wyg(1) [debian man page]

WYG(1)								Programmer's Manual							    WYG(1)

NAME
wyg - generate config-file parsers and automate use of getopt_long SYNOPSIS
wyg [options] [file] DESCRIPTION
Where's Your Grammar (or wyg) is a config-file-parser generator that automates the use of lex(1), yacc(1), and GNU getopt_long(3) so that you can worry about more important parts of your code. wyg reads a configuration file describing the configuration variables available to your program and generates a number of output files. The simplest way of running wyg is simply to type: wyg This will read the file wyg.conf and generate the output files. If you want to use a different configuration file for input to wyg, you can specify that on the wyg command line: wyg foo.conf wyg provides a few options that help automate the generation of the wyg library. To automatically build libwyg.a, type: wyg --make This will compile libwyg.a using the rules in Makefile.wyg. If you also want to generate a simple test program to make sure everything is working as expected, you can use the --maketest option: wyg --maketest This will build a simple program called wygtest that, when run, will display the value of all your configuration variables. The source code to wygtest can be found in /usr/doc/wyg/examples/wygtest.c. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in HTML format; see below. INPUT FILE
You tell wyg what configuration variables your code will use via the wyg configuration file (usually called wyg.conf). This is a text file that can include blank lines, comments (lines beginning with consist of five fields, seperated by whitespace: Name Letter Type Default Help-Text Name The name of the configuration variable. This can consist of letters, numbers, and "_". It must start with a letter or with "_". Letter The short version of the variable for use on the command line. If this variable has no short equivalent, set this field to "-". Type The data type of this variable. This can be int, string, float or bool. Default The default value of this variable. This field may not contain any whitespace; thus, strings values are currently limited to single- word defaults. This will probably change soon. Help-Text Help text for display to the user. This is a free-form field that can contain anything you want (except for embedded newlines). OPTIONS
The programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options are included below. For a complete description, see the HTML file. -h, --help Show summary of options. -v, --version Show version of program. SEE ALSO
wyg is documented fully by /usr/doc/wyg/manual.html, which is a copy of the home page http://www.larsshack.org/sw/wyg/. AUTHOR
This manual page was written by James R. Van Zandt <jrv@vanzandt.mv.com>, for the Debian GNU/Linux system (but may be used by others). 1999-06-20 WYG(1)

Check Out this Related Man Page

FRM.MAILUTILS(1)						   User Commands						  FRM.MAILUTILS(1)

NAME
frm.mailutils - display From: lines. SYNOPSIS
frm.mailutils [OPTION...] [URL ...] DESCRIPTION
GNU frm -- display From: lines. -d, --debug enable debugging output -f, --field=NAME header field to display -l, --[no-]to include the To: information -n, --[no-]number display message numbers -Q, --Quiet do not display headers -q, --query print a message if the mailbox contains some unread mail -S, --[no-]summary print a summary of messages -s, --status=STATUS select messages with the specific attribute: new, unread, old (same as unread) or read (or any unambiguous abbreviation of these) -t, --[no-]align tidy mode: align subject lines Global debugging settings --debug-level=LEVEL set Mailutils debugging level --[no-]debug-line-info show source info with debugging messages Configuration handling --config-file=FILE load this configuration file; implies --no-config --config-lint check configuration file syntax and exit --config-verbose verbosely log parsing of the configuration files --no-config do not load site and user configuration files --no-site-config do not load site-wide configuration file --no-user-config do not load user configuration file --set=PARAM=VALUE set configuration parameter Informational options --config-help show configuration file summary --show-config-options show compilation options -?, --help give this help list --usage give a short usage message -V, --version print program version Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. REPORTING BUGS
Report bugs to <bug-mailutils@gnu.org>. GNU Mailutils home page: <http://mailutils.org> General help using GNU software: <http://www.gnu.org/gethelp/> COPYRIGHT
Copyright (C) 2007-2017 Free Software Foundation, inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The complete GNU mailutils documentation is maintained as a Texinfo manual. If the mailutils-doc package is installed, the command info mailutils should give you access to the complete manual. You can also find this manual online in the GNU mailutils webpage: https://www.gnu.org/software/mailutils/manual/index.html. Please note this manpage was automatically generated by the Debian mailutils packagers. Do not file bugs for its content to the GNU Mailu- tils upstream authors. FSF
November 2017 FRM.MAILUTILS(1)
Man Page