[Logcheck-commits] CVS logcheck/docs

CVS User maks-guest logcheck-devel@lists.alioth.debian.org
Wed, 27 Oct 2004 11:09:48 -0600


Update of /cvsroot/logcheck/logcheck/docs
In directory haydn:/tmp/cvs-serv9741/docs

Modified Files:
	README.logcheck-database 
Log Message:

fix strange sed behaviour.


--- /cvsroot/logcheck/logcheck/docs/README.logcheck-database	2004/10/18 08:37:22	1.6
+++ /cvsroot/logcheck/logcheck/docs/README.logcheck-database	2004/10/27 17:09:48	1.7
@@ -158,7 +158,7 @@
 To test new rules, you can grep your log file, and remove trailing
 space with something like this:
 
-sed -e 's/[[:space:]]+$//' /var/log/syslog | egrep \
+sed -e 's/[[:space:]]*$//' /var/log/syslog | egrep \
 '^\w{3} [ :0-9]{11} oempc wwwoffled\[[0-9]+\]: WWWOFFLE (On|Off)line\.$'
 
 If the log line is displayed, then your regex works.