svn commit: trunk/busybox/docs
vapier at busybox.net
vapier at busybox.net
Wed Jul 5 22:19:22 UTC 2006
Author: vapier
Date: 2006-07-05 15:19:21 -0700 (Wed, 05 Jul 2006)
New Revision: 15648
Log:
fixes from ldoolitt at recycle.lbl.gov to use proper tab escaping and fix a typo
Modified:
trunk/busybox/docs/style-guide.txt
Changeset:
Modified: trunk/busybox/docs/style-guide.txt
===================================================================
--- trunk/busybox/docs/style-guide.txt 2006-07-05 20:15:38 UTC (rev 15647)
+++ trunk/busybox/docs/style-guide.txt 2006-07-05 22:19:21 UTC (rev 15648)
@@ -51,13 +51,13 @@
\s\s\s\sif (expr) {\n\tstmt; --ick.) The only exception to this rule is
multi-line comments that use an asterisk at the beginning of each line, i.e.:
- /t/*
- /t * This is a block comment.
- /t * Note that it has multiple lines
- /t * and that the beginning of each line has a tab plus a space
- /t * except for the opening '/*' line where the slash
- /t * is used instead of a space.
- /t */
+ \t/*
+ \t * This is a block comment.
+ \t * Note that it has multiple lines
+ \t * and that the beginning of each line has a tab plus a space
+ \t * except for the opening '/*' line where the slash
+ \t * is used instead of a space.
+ \t */
Furthermore, The preference is that tabs be set to display at four spaces
wide, but the beauty of using only tabs (and not spaces) at the beginning of
@@ -619,7 +619,7 @@
Furthermore, you should put a single comment (not necessarily one line, just
one comment) before the block, rather than commenting each and every line.
-There is an optimal ammount of commenting that a program can have; you can
+There is an optimal amount of commenting that a program can have; you can
comment too much as well as too little.
A picture is really worth a thousand words here, the following example
More information about the busybox-cvs
mailing list