summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2018-01-26 00:47:33 +0100
committerpgen <p.gen.progs@gmail.com>2018-01-26 00:47:33 +0100
commitee3a350aab98bfcf1bb1321caaf9c988eea71f8a (patch)
tree040a278e0eed59e4a2c2708637d5a2d75b7c2357
parente3b4d42a0570c253e431559a218fd2445b7d2a22 (diff)
Update the man page
-rw-r--r--smenu.110
1 files changed, 6 insertions, 4 deletions
diff --git a/smenu.1 b/smenu.1
index 7a1f232..a95f5be 100644
--- a/smenu.1
+++ b/smenu.1
@@ -79,6 +79,11 @@ converted to their traditional form (\fI\\n\fP for end-of-line,
\fI\\t\fP for tabulation...) by default.
A single dot (\fI.\fP) is also used as a placeholder otherwise.
.PP
+Words containing only spaces, entered directly or resulting from a
+substitution, are also rejected unless they are not selectable.
+This allows special effects like creating blank lines for example.
+These words are also kept in column mode, selectable or not.
+.PP
\fBWarning\fP, \fBUTF-8\fP encoded codepoints are quietly converted
into dots (\fI.\fP) when the user locale is not \fBUTF-8\fP aware like
\fBPOSIX\fP or \fBC\fP by example.
@@ -519,9 +524,6 @@ selected meanwhile
will display the same as above but \f(CBR\fP will contain the original
word \fIb\fP if \fIB\fP is selected.
In both cases, only the word \fIB\fP will be searchable and not \fIb\fP.
-.PP
-Notice that a substitution resulting in an empty string is equivalent
-to removing the word.
.RE
.IP "\fB-I\fP /\fIregex\fP/replacement string/[\fIg\fP][\fIv\fP][\fIs\fP]"
Post-processes the \fBselectable\fP words by applying a regular
@@ -544,7 +546,7 @@ Additionally \fI\\u\fP sequences can also be used in the regexp.
.PP
.RE
If a post-processing action (\fB-S\fP/\fB-I\fP/\fB-E\fP) results in an
-empty or a word containing only spaces, then we have two cases:
+empty (length 0) word, then we have two cases:
.RS
.IP "in column mode:"
Substitutions involving empty words can lead to misalignments, so it is