From 079f48e8a6131b2ef46b370c0905252d29d9d815 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 11 Nov 2022 08:27:17 +0000 Subject: [PATCH] Document alternative delimiters for substitution, from Jim Wisniewski. --- tmux.1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tmux.1 b/tmux.1 index 887608cb..52a20266 100644 --- a/tmux.1 +++ b/tmux.1 @@ -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 #() .