miller/test/cases/help/0012
John Kerl 1004ba5097
DSL format function: support 1-based positional placeholders like {1} (#1650) (#2160)
Plain {} placeholders consume arguments sequentially as before; {N}
refers to the Nth argument (1-based) and may be used to repeat and/or
reorder arguments, e.g. format("{1}/{2}/{1}_{3}.ext", $p1, $p2, $p3).
Mixing is allowed: the {} sequence counter is independent of positional
placeholders (as in Rust format!). Out-of-range indices interpolate the
empty string, consistent with existing too-few-arguments behavior; {0}
is an error value since indices are 1-based.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 15:15:33 -04:00
..
cmd Approximate-match feature for online help (#754) 2021-11-17 23:37:48 -05:00
experr Approximate-match feature for online help (#754) 2021-11-17 23:37:48 -05:00
expout DSL format function: support 1-based positional placeholders like {1} (#1650) (#2160) 2026-07-06 15:15:33 -04:00