summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-05-27 16:22:33 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-05-27 16:22:33 +0000
commit9e79735e5811e5bac0468ae57e3eb3ae71b675aa (patch)
tree30992174fa37e28e5a88566316ab084d33100fb2
parentfd99b90b826c57e3a26a79d8fef85bc58cbba207 (diff)
Clarify newlines inside {} a little.
-rw-r--r--usr.bin/tmux/tmux.18
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 872d9a3bd92..e3d5d64a711 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.655 2019/05/27 12:16:27 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.656 2019/05/27 16:22:32 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@@ -488,7 +488,7 @@ comment is ignored until the end of the line.
If the last character of a line is \e, the line is joined with the following
line (the \e and the newline are completely removed).
This is called line continuation and applies both inside and outside quoted
-strings and in comments.
+strings and in comments, but not inside braces.
.Pp
Command arguments may be specified as strings surrounded by single (') quotes,
double quotes (") or braces ({}).
@@ -523,7 +523,9 @@ variable.
.El
.Pp
Braces are similar to single quotes in that the text inside is taken literally
-without replacements, but they can span multiple lines.
+without any replacements but this also includes line continuation.
+Braces can span multiple lines in which case a literal newline is included in the
+string.
They are designed to avoid the need for additional escaping when passing a group
of
.Nm