[Logcheck-commits] Hannes von Haugwitz: docs/logcheck-test.1: Some minor format changes

Hannes von Haugwitz hvh-guest at alioth.debian.org
Fri Feb 19 06:30:48 UTC 2010


Module: logcheck
Branch: master
Commit: 551420d5c7c6acce1cff48d18bb6001f7c9dd5fc
URL:    http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=551420d5c7c6acce1cff48d18bb6001f7c9dd5fc

Author: Hannes von Haugwitz <hannes at vonhaugwitz.com>
Date:   Fri Feb 19 07:06:32 2010 +0100

docs/logcheck-test.1: Some minor format changes

---

 docs/logcheck-test.1 |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/docs/logcheck-test.1 b/docs/logcheck-test.1
index 7baa6c8..605dd8e 100644
--- a/docs/logcheck-test.1
+++ b/docs/logcheck-test.1
@@ -1,4 +1,4 @@
-.TH logcheck-test 1 "Feb 18, 2010"
+.TH logcheck-test 1 "Feb 19, 2010"
 .SH NAME
 logcheck-test \- test new logcheck rules easily
 .SH SYNOPSIS
@@ -51,7 +51,10 @@ Show line that don't match the RULE or the RULEFILE
 Suppress rule summary at the end of output
 .TP
 .B -e, --surround-rule
-Surround RULE with standard prefix '^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]-]+ ' and suffix '$'
+Surround RULE with standard prefix and suffix:
+
+^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]-]+ 
+.IR RULE $
 .TP
 .B -P, --append-prefix PREFIX
 Append PREFIX to rule prefix. Option can be given multiple times
@@ -66,7 +69,7 @@ With
 .B logcheck-test
 you can easily write and test new rules.
 .PP
-Test a single rule against /var/log/syslog
+Test a single rule against /var/log/syslog:
 .RS
 .fam C
 logcheck -s "RULE"
@@ -74,7 +77,7 @@ logcheck -s "RULE"
 .RE
 
 .PP
-Test a single rule against ~/log, surround the rule with standard prefix and suffix and append "kernel " to prefix
+Test a single rule against ~/log, surround the rule with standard prefix and suffix and append "kernel " to prefix:
 .RS
 .fam C
 logcheck -l ~/log -e -P "kernel " "RULE"
@@ -82,7 +85,7 @@ logcheck -l ~/log -e -P "kernel " "RULE"
 .RE
 
 .PP
-Test the rules in rulefiles/linux/ignore.d.server/kernel against ~/log
+Test the rules in rulefiles/linux/ignore.d.server/kernel against ~/log:
 .RS
 .fam C
 logcheck -l ~/log -r rulefiles/linux/ignore.d.server/kernel
@@ -90,7 +93,7 @@ logcheck -l ~/log -r rulefiles/linux/ignore.d.server/kernel
 .RE
 
 .PP
-Test which lines the rules in rulefiles/linux/ignore.d.server/kernel doesn't match
+Test which lines the rules in rulefiles/linux/ignore.d.server/kernel doesn't match:
 .RS
 .fam C
 logcheck -l ~/log -r rulefiles/linux/ignore.d.server/kernel -i




More information about the Logcheck-commits mailing list