diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-07 16:36:05 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-08 01:50:54 +0200 |
commit | 7aaf4f2423e2bcabce508e91255de673db50b728 (patch) | |
tree | cfdfc247185d7a97fce6f96110fb964f00b766fe /ksh.Man | |
parent | 60b250c267e9ce69f428fd2f0f56a4b1a54f2004 (diff) | |
download | ksh-master.tar.gz |
ksh will write lines to write-file containing information about
the status of the shell:
after prompt: empty line
after command entry: "cmd" followed by command
after cwd change: "cwd" followed by new cwd
fg is handled specially, printing a new "cmd" line with the original
command associated with the job.
Diffstat (limited to 'ksh.Man')
-rw-r--r-- | ksh.Man | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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. |