mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Fix examples with too many backslashes, pointed out by David Mandelberg.
This commit is contained in:
8
tmux.1
8
tmux.1
@ -568,7 +568,7 @@ For
|
|||||||
this typically means quoted (such as
|
this typically means quoted (such as
|
||||||
.Ql neww \[aq];\[aq] splitw )
|
.Ql neww \[aq];\[aq] splitw )
|
||||||
or escaped (such as
|
or escaped (such as
|
||||||
.Ql neww \e\e\e\e; splitw ) .
|
.Ql neww \e; splitw ) .
|
||||||
.It
|
.It
|
||||||
Individual semicolons or trailing semicolons that should be interpreted as
|
Individual semicolons or trailing semicolons that should be interpreted as
|
||||||
arguments should be escaped twice: once according to the shell conventions and
|
arguments should be escaped twice: once according to the shell conventions and
|
||||||
@ -576,15 +576,15 @@ a second time for
|
|||||||
.Nm ;
|
.Nm ;
|
||||||
for example:
|
for example:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
$ tmux neww \[aq]foo\e\e;\[aq] bar
|
$ tmux neww \[aq]foo\e;\[aq] bar
|
||||||
$ tmux neww foo\e\e\e\e; bar
|
$ tmux neww foo\e\e\e; bar
|
||||||
.Ed
|
.Ed
|
||||||
.It
|
.It
|
||||||
Semicolons that are not individual tokens or trailing another token should only
|
Semicolons that are not individual tokens or trailing another token should only
|
||||||
be escaped once according to shell conventions; for example:
|
be escaped once according to shell conventions; for example:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
$ tmux neww \[aq]foo-;-bar\[aq]
|
$ tmux neww \[aq]foo-;-bar\[aq]
|
||||||
$ tmux neww foo-\e\e;-bar
|
$ tmux neww foo-\e;-bar
|
||||||
.Ed
|
.Ed
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
|
Reference in New Issue
Block a user