summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-07-06 10:05:35 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-07-06 10:05:35 +0000
commit2c566d312fd0875efd200a8f488d1fda9f8c3d85 (patch)
tree16a1afccbea76c87fe18c7c0f6aa7e40b3500887 /bin
parentbd93bdc9b6ad3ef2f23b2e25b756e13d8c5b222a (diff)
downloadsrc-test-2c566d312fd0875efd200a8f488d1fda9f8c3d85.tar.gz
src-test-2c566d312fd0875efd200a8f488d1fda9f8c3d85.zip
Fix description of the "\$" sequence for PS1
The manual page documents "\$" to expand to either "$" or "#" followed by a single space. In reality, the single space character is not appended. PR: 247791 Submitted by: kd-dev@pm.me MFC after: 7 days
Notes
Notes: svn path=/head/; revision=362957
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/sh.16
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index d1540a1f562a9..76335cfaa2cdf 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -32,7 +32,7 @@
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
.\" $FreeBSD$
.\"
-.Dd February 24, 2019
+.Dd July 6, 2020
.Dt SH 1
.Os
.Sh NAME
@@ -1425,9 +1425,9 @@ The final component of the current working directory.
The entire path of the current working directory.
.It Li \e$
Superuser status.
-.Dq Li "$ "
+.Dq Li "$"
for normal users and
-.Dq Li "# "
+.Dq Li "#"
for superusers.
.It Li \e\e
A literal backslash.