From: Zbigniew Jędrzejewski-Szmek Date: Thu, 29 Jun 2017 02:29:41 +0000 (-0400) Subject: man: add more detail about quoting in ExecStart lines X-Git-Tag: v234~48^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa0c9e6315265c1527e0b2e1c64a5b9ca5b07990;p=platform%2Fupstream%2Fsystemd.git man: add more detail about quoting in ExecStart lines Fixes #624. --- diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 0678855..da35a52 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -916,12 +916,14 @@ Each command line is split on whitespace, with the first item being the command to execute, and the subsequent items being the arguments. Double quotes ("…") and single quotes - ('…') may be used, in which case everything until the next matching quote becomes part of the - same argument. Quotes themselves are removed. C-style escapes are also supported. The table - below contains the list of known escape patterns. Only escape patterns which match the syntax in - the table are allowed; other patterns may be added in the future and unknown patterns will - result in a warning. In particular, any backslashes should be doubled. Finally, a trailing - backslash (\) may be used to merge lines. + ('…') may be used to wrap a whole item (the opening quote may appear only at the beginning or + after whitespace that is not quoted, and the closing quote must be followed by whitespace or the + end of line), in which case everything until the next matching quote becomes part of the same + argument. Quotes themselves are removed. C-style escapes are also supported. The table below + contains the list of known escape patterns. Only escape patterns which match the syntax in the + table are allowed; other patterns may be added in the future and unknown patterns will result in + a warning. In particular, any backslashes should be doubled. Finally, a trailing backslash + (\) may be used to merge lines. This syntax is inspired by shell syntax, but only the meta-characters and expansions described in the following paragraphs are understood, and the expansion of variables is