Return to tmux.1 CVS log | Up to [local] / src / usr.bin / tmux |
version 1.519, 2017/01/09 19:27:00 | version 1.520, 2017/01/09 21:03:25 | ||
---|---|---|---|
|
|
||
.Ql no | .Ql no | ||
if not. | if not. | ||
.Pp | .Pp | ||
Simple comparisons may be expressed by prefixing two comma-separated | |||
alternatives by | |||
.Ql == | |||
or | |||
.Ql != | |||
and a colon. | |||
For example | |||
.Ql #{==,#{host},myhost} | |||
will be replaced by | |||
.Ql 1 | |||
if running on | |||
.Ql myhost , | |||
otherwise by | |||
.Ql 0. | |||
.Pp | |||
A limit may be placed on the length of the resultant string by prefixing it | A limit may be placed on the length of the resultant string by prefixing it | ||
by an | by an | ||
.Ql = , | .Ql = , |