Skip to content
Myr

Explain the difference of template from a single field index expression

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Close #4272

authored by Junegunn Choi · committed by Junegunn Choi · parent d79902a · Browse files · 1 file+5 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−2 removed

  • other:+5 added−2 removed

1 file+5 added−2 removed

modified:man/man1/fzf.1+5 added-2 removed
120 unmodified lines
121.TP122.BI "\-\-with\-nth=" "N[,..] or TEMPLATE"123Transform the presentation of each line using the field index expressions.124For advanced transformation, you can provide a template containing field index125expressions in curly braces.125expressions in curly braces. When you use a template, the trailing delimiter is126stripped from each expression, giving you more control over the output.127128.RS129e.g.130 # Single expression: drop the first field
5 unmodified lines
136.TP137.BI "\-\-accept\-nth=" "N[,..] or TEMPLATE"138Define which fields to print on accept. The last delimiter is stripped from the139output. For advanced transformation, you can provide a template containing139field index expressions in curly braces.140field index expressions in curly braces. When you use a template, the trailing141delimiter is stripped from each expression, giving you more control over the142output.143144.RS145e.g.146 # Single expression
1742 unmodified lines