Document alternative delimiters for substitution, from Jim Wisniewski.

pull/3408/head
nicm 2022-11-11 08:27:17 +00:00
parent 48f41e4a41
commit 079f48e8a6
1 changed files with 9 additions and 0 deletions

9
tmux.1
View File

@ -5080,6 +5080,15 @@ would change
.Ql abABab
into
.Ql bxBxbx .
A different delimiter character may also be used, to avoid collisions with
literal slashes in the pattern.
For example,
.Ql s|foo/|bar/|:
will substitute
.Ql foo/
with
.Ql bar/
throughout.
.Pp
In addition, the last line of a shell command's output may be inserted using
.Ql #() .