diff options
author | 2017-12-30 07:32:09 +0000 | |
---|---|---|
committer | 2017-12-30 07:32:09 +0000 | |
commit | b48dd22db6b9e0a99e73a9c7ec42f554abd4126e (patch) | |
tree | e1d5b3df1d2a6caa9d50c67968c8e20ea7ad70ef | |
parent | Simplify switch by removing some unneeded cases. (diff) | |
download | wireguard-openbsd-b48dd22db6b9e0a99e73a9c7ec42f554abd4126e.tar.xz wireguard-openbsd-b48dd22db6b9e0a99e73a9c7ec42f554abd4126e.zip |
backslash also escapes newlines when quoted;
from kshe
-rw-r--r-- | bin/ksh/sh.1 | 8 |
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 |