Add m: for fnmatch(3) format matching.

This commit is contained in:
nicm
2017-05-29 15:43:48 +00:00
parent 1883d299bf
commit 1257501499
2 changed files with 16 additions and 0 deletions

7
tmux.1
View File

@ -3444,6 +3444,13 @@ if running on
.Ql myhost ,
otherwise by
.Ql 0.
An
.Ql m
specifies a
.Xr fnmatch 3
comparison - the first argument is the pattern and the second the string to
compare. For example,
.Ql #{m:*foo*,#{host}} .
.Pp
A limit may be placed on the length of the resultant string by prefixing it
by an