From: Wang Yu Date: Fri, 26 Jun 2026 04:07:12 +0000 (+0800) Subject: man: fix first argument in Environment= expansion example X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e61a0705db40a5d44909796680041ebb36f7f21e;p=thirdparty%2Fsystemd.git man: fix first argument in Environment= expansion example The example states that the first /bin/echo invocation (using ${ONE}) receives the argument 'one' (with literal single quotes). However, Environment=ONE='one' strips the syntactic single quotes during unquoting — see systemd.syntax(7), "Quotes themselves are removed" — so ONE holds the value one, and ${ONE} (exact-value substitution, always a single argument) yields the argument one without quotes. Fixes #42442 Signed-off-by: Wang Yu --- diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 965e57a817f..fc1545f47d9 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -1618,7 +1618,7 @@ ExecStart=/bin/echo ${ONE} ${TWO} ${THREE} ExecStart=/bin/echo $ONE $TWO $THREE This results in /bin/echo being called twice, the first time with arguments - 'one', + one, 'two two' too, , and the second time with arguments one, two two,