From 1ca5f09d7bf2c021dc8f91bdef1637cbf5f4aebe Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 22 Feb 2025 22:14:49 +0900 Subject: [PATCH] Explain the difference of template from a single field index expression Close #4272 --- man/man1/fzf.1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 141ac1b4..a5715597 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -122,7 +122,8 @@ fields. .BI "\-\-with\-nth=" "N[,..] or TEMPLATE" Transform the presentation of each line using the field index expressions. For advanced transformation, you can provide a template containing field index -expressions in curly braces. +expressions in curly braces. When you use a template, the trailing delimiter is +stripped from each expression, giving you more control over the output. .RS e.g. @@ -136,7 +137,9 @@ e.g. .BI "\-\-accept\-nth=" "N[,..] or TEMPLATE" Define which fields to print on accept. The last delimiter is stripped from the output. For advanced transformation, you can provide a template containing -field index expressions in curly braces. +field index expressions in curly braces. When you use a template, the trailing +delimiter is stripped from each expression, giving you more control over the +output. .RS e.g.