[Python-modules-commits] r16789 - in packages/preprocess/trunk/debian (preprocess.1)
johannr-guest at users.alioth.debian.org
johannr-guest at users.alioth.debian.org
Tue Apr 26 16:57:19 UTC 2011
Date: Tuesday, April 26, 2011 @ 16:57:15
Author: johannr-guest
Revision: 16789
Minor fixes in man page.
Modified:
packages/preprocess/trunk/debian/preprocess.1
Modified: packages/preprocess/trunk/debian/preprocess.1
===================================================================
--- packages/preprocess/trunk/debian/preprocess.1 2011-04-26 16:53:14 UTC (rev 16788)
+++ packages/preprocess/trunk/debian/preprocess.1 2011-04-26 16:57:15 UTC (rev 16789)
@@ -4,15 +4,15 @@
.SH SYNOPSIS
\fBpreprocess\fR [\fIoptions\fR...] \fIinfile\fR
.SH DESCRIPTION
-Preprocess is like a typical C preprocess, but it extends to multiple
+Preprocess is like a typical C preprocessor, but it extends to multiple
languages. Languages for which it works include: C++, Python, Perl,
Tcl, XML, JavaScript, CSS, IDL, TeX, Fortran, PHP, Java, Shell scripts
(Bash, CSH, etc.) and C#. Preprocess is usable both as a command line
-app and as a Python module.
+app and as a Python module.
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
-Print this help and exit.
+Print help text and exit.
.TP
\fB\-V\fR, \fB\-\-version\fR
Print the version info and exit.
@@ -31,7 +31,7 @@
Define a variable for preprocessing. \fIdefine\fR can simply be a
variable name (in which case it will be true) or it can be of the form
\fIvar\fR=\fIval\fR. An attempt will be made to convert \fIval\fR to an
-integer so "\fB\-D\fR FOO=0" will create a false value.
+integer so "\fB\-D FOO=0\fR" will create a false value.
.TP
\fB\-I\fR \fIdir\fR
Add a directory to the include path for #include directives.
@@ -51,7 +51,7 @@
keepLines=0, includePath=[], substitute=0)
.LP
The <infile> can be marked up with special preprocessor statement lines
-of the form:
+of the form:
.IP
<comment-prefix> <preprocessor-statement> <comment-suffix>
.LP
@@ -78,7 +78,7 @@
.LP
C (*.c, *.h), C++ (*.cpp, *.cxx, *.cc, *.h, *.hpp, *.hxx, *.hh), Java
(*.java), PHP (*.php) or C# (*.cs) files:
-.IP
+.IP
// #define FAV_COLOR 'blue'
...
/* #ifndef FAV_COLOR */
@@ -108,12 +108,12 @@
where <expr> is any valid Python expression.
.LP
The expression after #if/elif may be a Python statement. It is an error
-to refer to a variable that has not been defined by a \-\fID\fR option
+to refer to a variable that has not been defined by a \fB\-D\fR option
or by an in-content #define.
.LP
Special built-in methods for expressions:
.IP
- defined(varName) Return true if given variable is defined.
+ defined(varName) Return true if given variable is defined.
.SH TIPS
.LP
A suggested file naming convention is to let input files to preprocess
More information about the Python-modules-commits
mailing list