-
Notifications
You must be signed in to change notification settings - Fork 52
Advanced direct access
pgen edited this page Aug 4, 2018
·
3 revisions
Here is an example of advanced direct access usage:
smenu -c -N t -F -D o:0 f:no n:1 i:1 w:2 s:10
Options meanings:
-c column mode-N auto numbering mode of words containing a t
-F use embeded numbers in words if any-D suboption for -N and -F| Sub-option | Meaning |
|---|---|
o:0 |
the embedded number starts at offset 0 |
f:no |
do not follow the numbering given by the last embedded numbea |
n:1 |
the extracted embedded number in 1 digit wide in the input |
i:1 |
1 multibytes to ignore after the embedded number |
w:2 |
the resulting direct access tag will be 2 characters wide |
s:10 |
force the first automatic number to start at 10 |
1 digit wide |1 character to skip to reach the word after the embedded number || vv -- 5 test1 <-- the input word ^ | offset 0 from the start of the input word
smenu illustrated concepts and examples: