summaryrefslogtreecommitdiffstats
path: root/bin/sh/sh.1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-06-14 08:25:00 +0000
committerru <ru@FreeBSD.org>2005-06-14 08:25:00 +0000
commit81411ac5c7fb2a9bc77ae108d49345427799badc (patch)
treea148903f7542d013af48c5e835d2c4e1e1302a23 /bin/sh/sh.1
parent567c0293735468cae904bb2614189e468a9e547d (diff)
downloadFreeBSD-src-81411ac5c7fb2a9bc77ae108d49345427799badc.zip
FreeBSD-src-81411ac5c7fb2a9bc77ae108d49345427799badc.tar.gz
Sorted sections and fixed prompt (PS[12]) strings.
Approved by: re (blanket)
Diffstat (limited to 'bin/sh/sh.1')
-rw-r--r--bin/sh/sh.122
1 files changed, 11 insertions, 11 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index 8d7d12b..2eb49b0 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -2044,14 +2044,6 @@ Similarly, the
.Dq Li set -E )
command can be used to enable a subset of
emacs-style command line editing features.
-.Sh EXIT STATUS
-Errors that are detected by the shell, such as a syntax error, will
-cause the shell to exit with a non-zero exit status.
-If the shell is not an interactive shell, the execution of the shell
-file will be aborted.
-Otherwise the shell will return the exit status of the last command
-executed, or if the exit builtin is used with a numeric argument, it
-will return the argument.
.Sh ENVIRONMENT
The following environment variables affect the execution of
.Nm :
@@ -2106,17 +2098,25 @@ See the
section for details.
.It Ev PS1
The primary prompt string, which defaults to
-.Dq $ \ ,
+.Dq Li "$ " ,
unless you are the superuser, in which case it defaults to
-.Dq # \ .
+.Dq Li "# " .
.It Ev PS2
The secondary prompt string, which defaults to
-.Dq \*[Gt] \ .
+.Dq Li "> " .
.It Ev TERM
The default terminal setting for the shell.
This is inherited by children of the shell, and is used in the history
editing modes.
.El
+.Sh EXIT STATUS
+Errors that are detected by the shell, such as a syntax error, will
+cause the shell to exit with a non-zero exit status.
+If the shell is not an interactive shell, the execution of the shell
+file will be aborted.
+Otherwise the shell will return the exit status of the last command
+executed, or if the exit builtin is used with a numeric argument, it
+will return the argument.
.Sh SEE ALSO
.Xr builtin 1 ,
.Xr chsh 1 ,
OpenPOWER on IntegriCloud