summaryrefslogtreecommitdiff
path: root/man/wimenu.man1
diff options
context:
space:
mode:
Diffstat (limited to 'man/wimenu.man1')
-rw-r--r--man/wimenu.man18
1 files changed, 4 insertions, 4 deletions
diff --git a/man/wimenu.man1 b/man/wimenu.man1
index 9c0c6df..a728ac3 100644
--- a/man/wimenu.man1
+++ b/man/wimenu.man1
@@ -104,7 +104,7 @@ movement keys of vi and the standard UNIX shell input bindings.
Move forward one word.
: C-a
- Move to the begining of the line.
+ Move to the beginning of the line.
: C-e
Move to the end of the line.
@@ -172,13 +172,13 @@ to that command. Given three commands and argument sets,
the following script provides the appropriate completions:
```
-#!/bin/sh -f
+#!/bin/sh \-f
rm fifo
mkfifo fifo
# Open wimenu with a fifo as its stdin
-wimenu -c <fifo | awk '
+wimenu \-c <fifo | awk '
BEGIN {
# Define the completion results
cmds = "foo\nbar\nbaz\n"
@@ -211,7 +211,7 @@ wimenu -c <fifo | awk '
# Skip the trailing part of the command
getline rest
}
-' | tail -1
+' | tail \-1
```
In theory, this facility can be used for myriad purposes,