From badd07e40c80bcf8252e20b2df87af0f197f3ce1 Mon Sep 17 00:00:00 2001 From: yctct Date: Wed, 22 Apr 2026 16:44:37 +0200 Subject: First commit, add files --- share/man/man1/pp.1 | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 share/man/man1/pp.1 (limited to 'share/man/man1/pp.1') diff --git a/share/man/man1/pp.1 b/share/man/man1/pp.1 new file mode 100644 index 0000000..a552c97 --- /dev/null +++ b/share/man/man1/pp.1 @@ -0,0 +1,46 @@ +.Dd Apr 25, 2019 +.Dt pp 1 +.Os +.Sh NAME +.Nm pp +.Nd preprocessor +.Sh SYNOPSIS +.Nm pp +.Op Fl d +.Ar file +.Op args ... +.Sh DESCRIPTION +The +.Nm +utility processes +.Ar file +to produce output that is used as input to another +program. +.Pp +It executes code enclosed in +.Dq #!\en +delimiters using +.Xr sh 1 . +.Op args ... +are passed to the embbeded script and are available +via the usual +.Em $1, $2, ... +positional parameters. +.Pp +The options are as follows: +.Bl -tag -width Ds +.It Fl d +.Nm +will dump the generated +.Xr sh 1 +code instead of executing it. This is useful for debugging. +.El +.Sh EXIT STATUS +.Ex -std +.Sh EXAMPLES +Preprocess file with arguments: +.Pp +.Dl $ pp file.upphtml a b +.Pp +.Sh SEE ALSO +.Xr sh 1 -- cgit v1.2.3