Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More sh.1 fixes and additions #353

Merged
merged 1 commit into from
Jan 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 29 additions & 26 deletions src/cmd/ksh93/sh.1
Original file line number Diff line number Diff line change
Expand Up @@ -6027,7 +6027,7 @@ The
command may not be executed by
.if \nZ=0 .B rsh\^.
.if \nZ=1 .B rksh\^.
.if \nZ=1 .B rksh93\^.
.if \nZ=2 .B rksh93\^.
.TP
\f3command\fP \*(OK \f3\-pvxV\fP \*(CK \f2name\^\fP \*(OK \f2arg\^\fP .\|.\|. \*(CK
Without the
Expand Down Expand Up @@ -7136,6 +7136,11 @@ If followed by a
.B /
only directories and sub-directories are matched.
.TP 8
.B \-H
Enable \f3!\fP-style history expansion similar to
.IR csh (1).
.
.TP 8
.B \-K
When no arguments are specified, it is used along with
.B \-s
Expand Down Expand Up @@ -7202,10 +7207,6 @@ The following argument can be one of the following option names:
Same as
.BR \-a .
.TP 8
.B errexit
Same as
.BR \-e .
.TP 8
.B bgnice
All background jobs are run at a lower priority.
This is the default mode.
Expand All @@ -7219,6 +7220,10 @@ Puts you in an
.I emacs
style in-line editor for command entry.
.TP 8
.B errexit
Same as
.BR \-e .
.TP 8
.B globstar
Same as
.BR \-G .
Expand All @@ -7228,6 +7233,10 @@ Puts you in a
.I gmacs
style in-line editor for command entry.
.TP 8
.B histexpand
Same as
.BR \-H .
.TP 8
.B ignoreeof
The shell will not exit on end-of-file.
The command
Expand Down Expand Up @@ -7287,6 +7296,10 @@ of the pipeline have completed, and the return value
will be the value of the last non-zero command
to fail or zero if no command has failed.
.TP 8
.B privileged
Same as
.BR \-p .
.TP 8
.B showme
When enabled, simple commands or pipelines preceded by a semicolon
.RB ( ; )
Expand All @@ -7297,18 +7310,14 @@ Otherwise, the leading
.B ;
will be ignored.
.TP 8
.B privileged
.B trackall
Same as
.BR \-p .
.BR \-h .
.TP 8
.B verbose
Same as
.BR \-v .
.TP 8
.B trackall
Same as
.BR \-h .
.TP 8
.B vi
Puts you in insert mode of a
.I vi\^
Expand Down Expand Up @@ -8247,18 +8256,21 @@ when it is invoked:
.PD 0
.TP 8
.B \-D
Do not execute the script, but output the set of double quoted strings
preceded by a
.BR $ .
These strings are needed for localization of the script to different locales.
A list of all double quoted strings that are preceded by a
.B $
will be printed on standard output and the shell will exit.
This set of strings will be subject to language translation
when the locale is not C or POSIX.
No commands will be executed.
.PD
.TP 8
.B \-E
Reads the file named by the
.B ENV
variable or by
.B \s-1$HOME\s+1/\f3.\fPkshrc
if not defined after the profiles.
.TP 10
.TP 8
.BI \-c
If the
.B \-c
Expand Down Expand Up @@ -8294,23 +8306,14 @@ In this case \s-1TERM\s+1 is ignored (so that \f3kill 0\fP
does not kill an interactive shell) and \s-1INTR\s+1 is caught and ignored
(so that
.B wait
is ).
is interruptible).
In all cases, \s-1QUIT\s+1 is ignored by the shell.
.TP
.B \-r
If the
.B \-r
option is present, the shell is a restricted shell.
.TP
.B \-D
A list of all double quoted strings that are preceded by a
.B $
will be printed on standard output and the shell will exit.
This set of strings will be subject to language translation
when the locale is not C or POSIX.
No commands will be executed.
.PD
.TP
.B \-P
If
.B \-P
Expand Down