Document the changes to the 'b' command. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit ad6839270ae5425675a9eeaed743517b216c55ac
(DIR) parent b1e08e78199d41e080169fc7716889012f70ff42
(HTM) Author: Rob King <jking@deadpixi.com>
Date: Thu, 26 May 2016 00:19:27 -0500
Document the changes to the 'b' command.
Diffstat:
doc/sam.1 | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
---
(DIR) diff --git a/doc/sam.1 b/doc/sam.1
@@ -421,13 +421,18 @@ Print the line address and character address of the range.
.It Sy =#
Print just the character address of the range.
.El
-.Ss File commands.
+.Ss File commands
.Bl -tag -width Ds
-.It * Sy "b file-list"
-Set the current file to the first file named in the list that
+.It * Sy "b name"
+Set the current file to the first window on file
+.Ar name ","
+if
.Nm
-also has in its menu.
-The list may be expressed
+has such a file in its menu.
+If no such file is present, the first file that has
+.Ar name
+as a prefix is used.
+The name may be expressed
.Sy "<shell-command"
in which case the file names are taken as words
.Pq "in the shell sense"