man: it's probably a good idea to wrap the ANSI color in quotes, in order to allow proper shell parsing of the semicolon

This commit is contained in:
Lennart Poettering 2012-02-13 18:37:33 +01:00
parent a26c9cc604
commit 26fd9acfd5
1 changed files with 5 additions and 5 deletions

View File

@ -146,8 +146,8 @@
not contain an OS version of some
kind, as suitable. If not set defaults
to <literal>Linux</literal>. Example:
<literal>PRETTY_NAME=Fedora 15
(Rawhide)</literal>.</para></listitem>
<literal>PRETTY_NAME="Fedora 15
(Rawhide)"</literal>.</para></listitem>
</varlistentry>
<varlistentry>
@ -160,9 +160,9 @@
for inclusion in the ESC [ m
ANSI/ECMA-48 escape code for setting
graphical rendition. Example:
<literal>ANSI_COLOR=0;31</literal> for
<literal>ANSI_COLOR="0;31"</literal> for
red, or
<literal>ANSI_COLOR=1;34</literal> for
<literal>ANSI_COLOR="1;34"</literal> for
light blue.</para></listitem>
</varlistentry>
</variablelist>
@ -188,7 +188,7 @@ VERSION="15 (Rawhide)"
ID=fedora
VERSION_ID=15
PRETTY_NAME="Fedora 15 (Rawhide)"
ANSI_COLOR=0;34</programlisting>
ANSI_COLOR="0;34"</programlisting>
</refsect1>
<refsect1>