summaryrefslogtreecommitdiffstats
path: root/smenu.1
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2023-07-05 00:33:00 +0200
committerpgen <p.gen.progs@gmail.com>2023-07-05 00:33:00 +0200
commit7a4a73ce28a526e85b8da1013c95e615337eed13 (patch)
tree73272a2b92f4e503f0e6fbafa4387f70bfa61e03 /smenu.1
parentbce2a91d962ba1edfb86dd22e802f08881c2d0ee (diff)
[Manual] example for the s sub-option of -data
Diffstat (limited to 'smenu.1')
-rw-r--r--smenu.18
1 files changed, 8 insertions, 0 deletions
diff --git a/smenu.1 b/smenu.1
index 1a2986d..2b4769b 100644
--- a/smenu.1
+++ b/smenu.1
@@ -1483,6 +1483,14 @@ The variable \f(CBR\fP will then contain the string \f(CB2-b\fP if
Here \fBy\fP is the direct access number that will be set for the first
numbered word.
Its value is \fB1\fP by default, a value of \fB0\fP is possible.
+
+Example:
+.br
+\f(CBecho a b c | -N -D s:1000\fR
+.br
+will display:
+.br
+\f(CB1000)\f(CR a \f(CB1001)\f(CR b \f(CB1002) c\fR
.P
To number all words with the default parameters, use the
syntax: "\f(CR-N\fP" which is a shortcut for: