summaryrefslogtreecommitdiff
path: root/ksh.Man
diff options
context:
space:
mode:
Diffstat (limited to 'ksh.Man')
-rw-r--r--ksh.Man7
1 files changed, 6 insertions, 1 deletions
diff --git a/ksh.Man b/ksh.Man
index 69ea1f0..80ad538 100644
--- a/ksh.Man
+++ b/ksh.Man
@@ -43,7 +43,7 @@ sh \- Public domain Bourne shell
.sh(
\fBsh\fP
.sh)
-[\fB\(+-abCefhiklmnprsuvxX\fP] [\fB\(+-o\fP \fIoption\fP] [ [ \fB\-c\fP \fIcommand-string\fP [\fIcommand-name\fP] | \fB\-s\fP | \fIfile\fP ] [\fIargument\fP ...] ]
+[\fB\(+-abCefhiklmnprsuvxX\fP] [\fB\(+-o\fP \fIoption\fP] [\fB-w\fP \fIwrite-file\fP]] [ [ \fB\-c\fP \fIcommand-string\fP [\fIcommand-name\fP] | \fB\-s\fP | \fIfile\fP ] [\fIargument\fP ...] ]
.ad b
.\"}}}
.\"{{{ Description
@@ -72,6 +72,11 @@ the shell reads commands from standard input; all non-option arguments
are positional parameters
.IP \fB\-r\fP
restricted mode \(em see below
+.IP "\fB\-w\fP \fIwrite-file\fP"
+the shell writes to \fIwrite-file\fR an empty line after each
+prompt, a line beginning with \fIcwd\fR after each directory change
+and a line beginning with \fIcmd\fR after each interactive command
+entry.
.PP
In addition to the above, the options described in the \fBset\fP built-in
command can also be used on the command line.