From: Christoph Anton Mitterer Date: Fri, 31 Oct 2025 06:28:57 +0000 (+0100) Subject: man: clarify quoting of `$` in command lines (#39494) X-Git-Tag: v259-rc1~213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfb365d92445f8ac0bb5c57106a8598dc5eb56d4;p=thirdparty%2Fsystemd.git man: clarify quoting of `$` in command lines (#39494) When the special executable prefix `:` is used, `$$` yield the literal `$$`. --- diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 125acae4d37..84dd17920a1 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.