summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2017-12-30 07:32:10 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2017-12-30 07:32:10 +0000
commit8dbd63d7471b17a6830a1628e979eb4f4cc7a445 (patch)
tree6336b35ad7d700ed1118d38dd8bb909c292d260d /bin
parentfa3dd069659d62fc8e0ee8480e9936cf9bea8b59 (diff)
backslash also escapes newlines when quoted;
from kshe
Diffstat (limited to 'bin')
-rw-r--r--bin/ksh/sh.18
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1
index 390419653a0..1fc0e0e2f04 100644
--- a/bin/ksh/sh.1
+++ b/bin/ksh/sh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1,v 1.145 2017/12/15 20:51:28 jmc Exp $
+.\" $OpenBSD: sh.1,v 1.146 2017/12/30 07:32:09 jmc Exp $
.\"
.\" Copyright (c) 2015 Jason McIntyre <jmc@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 15 2017 $
+.Dd $Mdocdate: December 30 2017 $
.Dt SH 1
.Os
.Sh NAME
@@ -1165,7 +1165,7 @@ if the user wants to indicate to the shell not to interpret them as such.
The following characters need quoting if their literal meaning is desired:
.Bd -literal -offset indent
| & ; < > ( ) $ \` \e " \(aq <space> <tab> <newline>
-* ? [ # ~ = %
+* ? [ # ~ = %
.Ed
.Pp
A backslash
@@ -1190,7 +1190,7 @@ A backslash
.Pq \e
within double quotes retains its special meaning,
but only when followed by a backquote, dollar sign,
-double quote, or another backslash.
+double quote, newline, or another backslash.
An at sign
.Pq @
within double quotes has a special meaning