From: Michael Marineau Date: Mon, 15 Sep 2014 21:07:39 +0000 (-0700) Subject: man: use the escape for "-" in example instead of space. X-Git-Tag: v217~525 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=fb7661a6020b5680d5647d3d85b0501a4f3a5042;p=elogind.git man: use the escape for "-" in example instead of space. This sentence can be misread to mean that "\x20" is the escape code for "-" which is the only character explicitly mentioned. This lead to at least one user loosing hair over why a mount unit for "/foo/bar-baz" didn't work. The example escape is arbitrary so lets prevent hair loss. --- diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 6ea552e8b..67d46eda9 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -226,7 +226,7 @@ result is usable as part of a filename. Basically, given a path, "/" is replaced by "-", and all unprintable characters and the "-" are replaced by - C-style "\x20" escapes. The root directory "/" is + C-style "\x2d" escapes. The root directory "/" is encoded as single dash, while otherwise the initial and ending "/" is removed from all paths during transformation. This escaping is reversible.