From 534655e1e14cbff46f2e9c47bf7ad151ae35fbd6 Mon Sep 17 00:00:00 2001 From: DONG Yuxuan Date: Sun, 15 Oct 2023 03:54:32 +0800 Subject: [PATCH] update manpage for comment support --- shsub.1.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shsub.1.tpl b/shsub.1.tpl index 1d1aa6a..7b99708 100644 --- a/shsub.1.tpl +++ b/shsub.1.tpl @@ -24,10 +24,12 @@ Shell expressions are surrounded by \fB<%%=\fR and \fB%%>\fR. Shell commands are compiled to the commands themselves. Each \fB<%%=\fIexpr\fB%%>\fR is compiled to \fBprintf %s \fIexpr\fR. Ordinary text is compiled to the command printing that text. +Contents within \fB<%%!\fR and \fB%%>\fR are regarded as comments +and are ignored. A template can include other templates by \fB<%%+\fIfilename\fB%%>\fR. If \fB-%%>\fR is used instead of \fB%%>\fR -to end a command, expression, or including, +to end a command, expression, including, or comment, the following newline character will be ignored. \fB<%%%\fR and \fB%%%>\fR are compiled to literal \fB<%%\fR and \fB%%>\fR.