[Logcheck-commits] Gerfried Fuchs: escaped dashes that really mean dashes

Gerfried Fuchs alfie at alioth.debian.org
Mon Feb 22 21:01:07 UTC 2010


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

Author: Gerfried Fuchs <rhonda at debian.at>
Date:   Mon Feb 22 22:00:13 2010 +0100

escaped dashes that really mean dashes

---

 debian/changelog     |    2 ++
 docs/logcheck-test.1 |   34 +++++++++++++++++-----------------
 docs/logtail.8       |    4 ++--
 docs/logtail2.8      |    6 +++---
 4 files changed, 24 insertions(+), 22 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 66332aa..2a65c0f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ logcheck (1.3.8) UNRELEASED; urgency=low
   [ Gerfried Fuchs ]
   * debian/logcheck.NEWS, debian/logtail.NEWS:
     - removed asterisk from entries
+  * docs/logcheck-test.1, docs/logtail.8, docs/logtail2.8:
+    - escaped dashes that really mean dashes
 
  -- Hannes von Haugwitz <hannes at vonhaugwitz.com>  Fri, 19 Feb 2010 15:11:51 +0100
 
diff --git a/docs/logcheck-test.1 b/docs/logcheck-test.1
index 605dd8e..85c688f 100644
--- a/docs/logcheck-test.1
+++ b/docs/logcheck-test.1
@@ -2,7 +2,7 @@
 .SH NAME
 logcheck-test \- test new logcheck rules easily
 .SH SYNOPSIS
-.B logcheck-test
+.B logcheck\-test
 .RB [ \-q | \-i ]
 .RB [ \-a | \-s | \-l
 .IR FILE ]
@@ -13,7 +13,7 @@ logcheck-test \- test new logcheck rules easily
 .IR SUFFIX ]
 .I RULE
 .br
-.B logcheck-test
+.B logcheck\-test
 .RB [ \-q | \-i ]
 .RB [ \-a | \-s | \-l
 .IR FILE ]
@@ -32,37 +32,37 @@ to write new rules easily.
 
 .SH OPTIONS
 .TP
-.B -h, --help
+.B \-h, \-\-help
 Show usage information
 .TP
-.B -a, --auth.log
+.B \-a, \-\-auth.log
 Parse /var/log/auth.log for matching lines
 .TP
-.B -s, --syslog
+.B \-s, \-\-syslog
 Parse /var/log/syslog for matching lines
 .TP
-.B -l, --log-file FILE
+.B \-l, \-\-log\-file FILE
 Parse FILE for matching lines
 .TP
-.B -i, --invert-match
+.B \-i, \-\-invert\-match
 Show line that don't match the RULE or the RULEFILE
 .TP
-.B -q, --quiet
+.B \-q, \-\-quiet
 Suppress rule summary at the end of output
 .TP
-.B -e, --surround-rule
+.B \-e, \-\-surround\-rule
 Surround RULE with standard prefix and suffix:
 
-^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]-]+ 
+^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]\-]+ 
 .IR RULE $
 .TP
-.B -P, --append-prefix PREFIX
+.B \-P, \-\-append\-prefix PREFIX
 Append PREFIX to rule prefix. Option can be given multiple times
 .TP
-.B -S, --prepend-suffix SUFFIX
+.B \-S, \-\-prepend\-suffix SUFFIX
 Prepend SUFFIX to rule suffix. Option can be given multiple times
 .TP
-.B -r, --rule-file RULEFILE
+.B \-r, \-\-rule\-file RULEFILE
 Use file RULEFILE for rule input
 .SH EXAMPLES
 With
@@ -72,7 +72,7 @@ you can easily write and test new rules.
 Test a single rule against /var/log/syslog:
 .RS
 .fam C
-logcheck -s "RULE"
+logcheck \-s "RULE"
 .fam T
 .RE
 
@@ -80,7 +80,7 @@ logcheck -s "RULE"
 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"
+logcheck \-l ~/log \-e \-P "kernel " "RULE"
 .fam T
 .RE
 
@@ -88,7 +88,7 @@ logcheck -l ~/log -e -P "kernel " "RULE"
 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
+logcheck \-l ~/log \-r rulefiles/linux/ignore.d.server/kernel
 .fam T
 .RE
 
@@ -96,7 +96,7 @@ logcheck -l ~/log -r rulefiles/linux/ignore.d.server/kernel
 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
+logcheck \-l ~/log \-r rulefiles/linux/ignore.d.server/kernel \-i
 .fam T
 .RE
 
diff --git a/docs/logtail.8 b/docs/logtail.8
index 666fe69..dd8c4e9 100644
--- a/docs/logtail.8
+++ b/docs/logtail.8
@@ -3,7 +3,7 @@
 logtail \- print log file lines that have not been read
 .SH SYNOPSIS
 .B logtail
-.RI [-t]
+.RI [\-t]
 .BI \-f logfile
 .RI [\-o offsetfile ]
 .SH DESCRIPTION
@@ -75,7 +75,7 @@ was written in C by Craig H. Rowland <crowland at psionic.com>.
 This version of
 .B logtail
 is a Perl reimplementation by Paul Slootman <paul at debian.org>.
-Enhanced by the Debian Logcheck Team <logcheck-devel at lists.alioth.debian.org>.
+Enhanced by the Debian Logcheck Team <logcheck\-devel at lists.alioth.debian.org>.
 .P
 This manual was written by Oohara Yuuma <oohara at libra.interq.or.jp>.
 .SH SEE ALSO
diff --git a/docs/logtail2.8 b/docs/logtail2.8
index 8616778..c436dbd 100644
--- a/docs/logtail2.8
+++ b/docs/logtail2.8
@@ -3,7 +3,7 @@
 logtail2 \- print log file lines that have not been read
 .SH SYNOPSIS
 .B logtail2
-.RI [-t]
+.RI [\-t]
 .BI \-f logfile
 .RI [\-o offsetfile ]
 .SH DESCRIPTION
@@ -82,10 +82,10 @@ was written in C by Craig H. Rowland <crowland at psionic.com>.
 This version of
 .B logtail
 is a modification of Paul Slootman's re-implementation in perl.
-enhanced by the Debian Logcheck Team <logcheck-devel at lists.alioth.debian.org>.
+enhanced by the Debian Logcheck Team <logcheck\-devel at lists.alioth.debian.org>.
 .P
 This manual was written by Oohara Yuuma <oohara at libra.interq.or.jp>
 and enhanced by the Debian Logcheck Team
-<logcheck-devel at lists.alioth.debian.org>..
+<logcheck\-devel at lists.alioth.debian.org>..
 .SH SEE ALSO
 .BR logcheck (8)




More information about the Logcheck-commits mailing list