ppcrcd/trunk/doc/gendoc.pl

sparky cvs at pld-linux.org
Wed Aug 9 20:16:19 CEST 2006


Author: sparky
Date: Wed Aug  9 20:16:11 2006
New Revision: 7638

Modified:
   ppcrcd/trunk/doc/gendoc.pl
Log:
- ppcrcd-like $PS1 colors


Modified: ppcrcd/trunk/doc/gendoc.pl
==============================================================================
--- ppcrcd/trunk/doc/gendoc.pl	(original)
+++ ppcrcd/trunk/doc/gendoc.pl	Wed Aug  9 20:16:11 2006
@@ -44,6 +44,7 @@
 	s#^==\s*(.*?)\s*==$#<h2>$1</h2>#gm;
 	s#^=\s*(.*?)\s*=$#<h3>$1</h3>#gm;
 	s#^-------*$#<hr/>#gm;
+	s#\[root\@ppcrcd (.*?)\]\$#[<font color="red">root</font>@<font color="green">ppcrcd</font> <font color="blue">$1</font>]\$#gm;
 	return $_;
 }
 


More information about the pld-cvs-commit mailing list