aboutsummaryrefslogtreecommitdiffstats
path: root/src/remake/coordinator.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-29 00:29:50 +0000
committertv <tv@krebsco.de>2026-11-29 00:29:50 +0000
commitd56436c3e5ee7b5659e1c2171c5c7af2d3c4eccb (patch)
treec4da35c7acdf8b250ada8ec9adec65274e1c4016 /src/remake/coordinator.rs
parent479246f98be360b5943458bd58d07e6d46f81fd0 (diff)
config: placeholders nest, what one gives going in as data
A name, a path, a command and each argument of an importer may hold placeholders of their own. There only ${env:, ${file: and ${cmd: begin one, $${ is a ${, and every other $ stays: a command's are its shell's. What a placeholder gives is never run. Into a name, a path and an argument it goes as text, an argument staying one. A shell command gets it as a positional parameter, the placeholder becoming a reference to it, "${1}", or ${1} inside double quotes: no part of the script, whatever it holds. import::Shell tells where in a script a place is, as far as that reference needs; where it can't be written as one word (single quotes, backquotes, $((…)), the shell's ${…}, after a backslash or a here-document), the command is refused. What it gets wrong can refuse a reference or have the shell split it, never run it. An importer has its directory itself (Importer::dir), a file's path joined with it when read, so that a path may hold placeholders.
Diffstat (limited to 'src/remake/coordinator.rs')
0 files changed, 0 insertions, 0 deletions