This is cron-daily v1-Jan-12-2026. 005manpages updated: makedefs.txt
This commit is contained in:
@@ -31,8 +31,8 @@ SHORT COMMANDS
|
|||||||
the MDGREP FUNCTIONS section below for details.
|
the MDGREP FUNCTIONS section below for details.
|
||||||
|
|
||||||
-m Generate date.h and options file. It will read dat/gitinfo.txt,
|
-m Generate date.h and options file. It will read dat/gitinfo.txt,
|
||||||
only if it is present, to obtain githash= and gitbranch=
|
only if it is present, to obtain githash= and gitbranch= info
|
||||||
info and include related preprocessor #defines in date.h file.
|
and include related preprocessor #defines in date.h file.
|
||||||
|
|
||||||
-p Generate pm.h
|
-p Generate pm.h
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ LONG COMMANDS
|
|||||||
Show debugging output.
|
Show debugging output.
|
||||||
|
|
||||||
--make [command]
|
--make [command]
|
||||||
Execute a short command. Command is given without preceding
|
Execute a short command. Command is given without preceding
|
||||||
dash.
|
dash.
|
||||||
|
|
||||||
--input file
|
--input file
|
||||||
@@ -61,66 +61,66 @@ LONG COMMANDS
|
|||||||
is - standard input is read.
|
is - standard input is read.
|
||||||
|
|
||||||
--output file
|
--output file
|
||||||
Specify the output file for the command (if needed). If the
|
Specify the output file for the command (if needed). If the
|
||||||
file is - standard output is written.
|
file is - standard output is written.
|
||||||
|
|
||||||
--svs [delimiter]
|
--svs [delimiter]
|
||||||
Generate a version string to standard output without a trailing
|
Generate a version string to standard output without a trailing
|
||||||
newline. If specified, the delimiter is used between each part
|
newline. If specified, the delimiter is used between each part
|
||||||
of the version string.
|
of the version string.
|
||||||
|
|
||||||
--grep Filter the input file to the output file. See the MDGREP FUNC-
|
--grep Filter the input file to the output file. See the MDGREP FUNC-
|
||||||
TIONS section below for information on controlling the filtering
|
TIONS section below for information on controlling the filtering
|
||||||
operation.
|
operation.
|
||||||
|
|
||||||
--grep-showvars
|
--grep-showvars
|
||||||
Show the name and value for each variable known to the grep
|
Show the name and value for each variable known to the grep
|
||||||
option.
|
option.
|
||||||
|
|
||||||
--grep-trace
|
--grep-trace
|
||||||
Turn on debug tracing for the grep function ( --grep must be
|
Turn on debug tracing for the grep function ( --grep must be
|
||||||
specified as well).
|
specified as well).
|
||||||
|
|
||||||
--grep-defined symbol
|
--grep-defined symbol
|
||||||
Exit shell true (0) if symbol is known and defined, otherwise
|
Exit shell true (0) if symbol is known and defined, otherwise
|
||||||
exit shell false (1).
|
exit shell false (1).
|
||||||
|
|
||||||
--grep-define symbol
|
--grep-define symbol
|
||||||
Force the value of symbol to be "defined." Symbol must already
|
Force the value of symbol to be "defined." Symbol must already
|
||||||
be known to makedefs.
|
be known to makedefs.
|
||||||
|
|
||||||
--grep-undef symbol
|
--grep-undef symbol
|
||||||
Force the definition of symbol to be "undefined." Symbol must
|
Force the definition of symbol to be "undefined." Symbol must
|
||||||
already be known to makedefs.
|
already be known to makedefs.
|
||||||
|
|
||||||
MDGREP FUNCTIONS
|
MDGREP FUNCTIONS
|
||||||
The --grep command (and certain other commands) filter their input, on
|
The --grep command (and certain other commands) filter their input, on
|
||||||
a line-by-line basis, according to control lines embedded in the input
|
a line-by-line basis, according to control lines embedded in the input
|
||||||
and on information gleaned from the NetHack(6) configuration. This
|
and on information gleaned from the NetHack(6) configuration. This
|
||||||
allows certain changes such as embedding platform-specific documenta-
|
allows certain changes such as embedding platform-specific documenta-
|
||||||
tion into the master documentation files.
|
tion into the master documentation files.
|
||||||
|
|
||||||
Rules:
|
Rules:
|
||||||
|
|
||||||
- The default conditional state is printing enabled.
|
- The default conditional state is printing enabled.
|
||||||
|
|
||||||
- Any line NOT starting with a caret (^) is either suppressed
|
- Any line NOT starting with a caret (^) is either suppressed
|
||||||
or passed through unchanged depending on the current condi-
|
or passed through unchanged depending on the current condi-
|
||||||
tional state.
|
tional state.
|
||||||
|
|
||||||
- Any line starting with a caret is a control line; as in C,
|
- Any line starting with a caret is a control line; as in C,
|
||||||
zero or more spaces may be embedded in the line almost any-
|
zero or more spaces may be embedded in the line almost any-
|
||||||
where (except immediately after the caret); however the
|
where (except immediately after the caret); however the
|
||||||
caret must be in column 1.
|
caret must be in column 1.
|
||||||
|
|
||||||
- Conditionals may be nested.
|
- Conditionals may be nested.
|
||||||
|
|
||||||
- Makedefs will exit with an error code if any errors are
|
- Makedefs will exit with an error code if any errors are
|
||||||
detected; processing will continue (if it can) to allow as
|
detected; processing will continue (if it can) to allow as
|
||||||
many errors as possible to be detected.
|
many errors as possible to be detected.
|
||||||
|
|
||||||
- Unknown identifiers are treated as both TRUE and as an
|
- Unknown identifiers are treated as both TRUE and as an
|
||||||
error. Note that --undef or #undef in the NetHack(6) con-
|
error. Note that --undef or #undef in the NetHack(6) con-
|
||||||
figuration are different from unknown.
|
figuration are different from unknown.
|
||||||
|
|
||||||
Control lines:
|
Control lines:
|
||||||
@@ -143,8 +143,8 @@ AUTHOR
|
|||||||
The NetHack Development Team
|
The NetHack Development Team
|
||||||
|
|
||||||
COPYRIGHT
|
COPYRIGHT
|
||||||
This file is Copyright (C) Kenneth Lorber, 2024 for version
|
This file is Copyright (C) Kenneth Lorber, 2024 for version
|
||||||
NetHack-3.7:1.22. NetHack may be freely redistributed. See license
|
NetHack-3.7:1.22. NetHack may be freely redistributed. See license
|
||||||
for details.
|
for details.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user