mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	escape quotes and remove some unneccessary Pp; ok nicm
This commit is contained in:
		
							
								
								
									
										12
									
								
								tmux.1
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								tmux.1
									
									
									
									
									
								
							@@ -544,7 +544,7 @@ for example in these
 | 
				
			|||||||
.Xr sh 1
 | 
					.Xr sh 1
 | 
				
			||||||
commands:
 | 
					commands:
 | 
				
			||||||
.Bd -literal -offset indent
 | 
					.Bd -literal -offset indent
 | 
				
			||||||
$ tmux neww\\; splitw
 | 
					$ tmux neww\e\e; splitw
 | 
				
			||||||
.Ed
 | 
					.Ed
 | 
				
			||||||
.Pp
 | 
					.Pp
 | 
				
			||||||
Or:
 | 
					Or:
 | 
				
			||||||
@@ -563,7 +563,7 @@ For
 | 
				
			|||||||
this typically means quoted (such as
 | 
					this typically means quoted (such as
 | 
				
			||||||
.Ql neww ';' splitw )
 | 
					.Ql neww ';' splitw )
 | 
				
			||||||
or escaped (such as
 | 
					or escaped (such as
 | 
				
			||||||
.Ql neww \\\\; splitw ) .
 | 
					.Ql neww \e\e\e\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
 | 
				
			||||||
@@ -571,18 +571,16 @@ a second time for
 | 
				
			|||||||
.Nm ;
 | 
					.Nm ;
 | 
				
			||||||
for example:
 | 
					for example:
 | 
				
			||||||
.Bd -literal -offset indent
 | 
					.Bd -literal -offset indent
 | 
				
			||||||
$ tmux neww 'foo\\;' bar
 | 
					$ tmux neww 'foo\e\e;' bar
 | 
				
			||||||
$ tmux neww foo\\\\; bar
 | 
					$ tmux neww foo\e\e\e\e; bar
 | 
				
			||||||
.Ed
 | 
					.Ed
 | 
				
			||||||
.Pp
 | 
					 | 
				
			||||||
.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 'foo-;-bar'
 | 
					$ tmux neww 'foo-;-bar'
 | 
				
			||||||
$ tmux neww foo-\\;-bar
 | 
					$ tmux neww foo-\e\e;-bar
 | 
				
			||||||
.Ed
 | 
					.Ed
 | 
				
			||||||
.Pp
 | 
					 | 
				
			||||||
.El
 | 
					.El
 | 
				
			||||||
.Pp
 | 
					.Pp
 | 
				
			||||||
Comments are marked by the unquoted # character - any remaining text after a
 | 
					Comments are marked by the unquoted # character - any remaining text after a
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user