[SCM] Debian Live manual branch, master, updated. 6abc41c19a23261997b20a10aaac4913b3eef15a

Daniel Baumann daniel at debian.org
Thu Jan 29 23:11:32 UTC 2009


The following commit has been merged in the master branch:
commit 6abc41c19a23261997b20a10aaac4913b3eef15a
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Jan 30 00:11:28 2009 +0100

    Adding miscellaneous section in coding-style chapter.

diff --git a/xml/chapters/coding-style.xml b/xml/chapters/coding-style.xml
index d4fd2dc..3e4c4de 100644
--- a/xml/chapters/coding-style.xml
+++ b/xml/chapters/coding-style.xml
@@ -128,4 +128,15 @@ fi
 
 </sect1>
 
+<sect1 id="misc">
+<title>Miscellaneous</title>
+
+<itemizedlist>
+	<listitem>Use "|" (without "") as a seperator in sed calls, e.g. "sed -e 's|foo|bar|'" (without "").</listitem>
+	<listitem>Don't use test for comparisons or tests, use "[" "]" (without ""), e.g. "if [ -x /bin/foo ]; ..." and not "if test -x /bin/foo; ...".</listitem>
+
+</itemizedlist>
+
+</sect1>
+
 </chapter>

-- 
Debian Live manual



More information about the debian-live-changes mailing list