From 8dbd63d7471b17a6830a1628e979eb4f4cc7a445 Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Sat, 30 Dec 2017 07:32:10 +0000 Subject: backslash also escapes newlines when quoted; from kshe --- bin/ksh/sh.1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin') 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 .\" @@ -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 -* ? [ # ~ = % +* ? [ # ~ = % .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 -- cgit v1.2.3