From bfb365d92445f8ac0bb5c57106a8598dc5eb56d4 Mon Sep 17 00:00:00 2001 From: Christoph Anton Mitterer Date: Fri, 31 Oct 2025 07:28:57 +0100 Subject: [PATCH] man: clarify quoting of `$` in command lines (#39494) When the special executable prefix `:` is used, `$$` yield the literal `$$`. --- man/systemd.service.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 125acae4d3..84dd17920a 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -1485,7 +1485,8 @@ ExecStart=/bin/echo $ONE $TWO $THREE too. - To pass a literal dollar sign, use $$. + Unless for commands with the special executable prefix :, + to pass a literal dollar sign, use $$. Variables whose value is not known at expansion time are treated as empty strings. Note that the first argument (i.e. the program to execute) may not be a variable.