Package: swatch / 3.2.4-2

Gbp-Pq-Name-patch1.diff.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: Debian Security Tools <team+pkg-security@tracker.debian.org>
Date: Sun, 16 Sep 2018 17:32:31 +0800
Subject: Gbp-Pq: Name patch1.diff

---
 swatchdog | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/swatchdog b/swatchdog
index 0ed1559..d9c2e26 100755
--- a/swatchdog
+++ b/swatchdog
@@ -1194,14 +1194,13 @@ ignore regex
 
 =item B<echo [modes]>
 
-Echo the matched line. The text mode may be I<normal>,
-I<bold>, I<underscore>, I<blink>, I<inverse>, 
-I<black>, I<red>, I<green>, I<yellow>, I<blue>, I<magenta>, I<cyan>, I<white>,
-I<black_h>, I<red_h>, I<green_h>, I<yellow_h>, I<blue_h>, 
-I<magenta_h>, I<cyan_h>, and/or I<white_h>. The I<_h> colors specify 
-a highlighting color. The other colors are assigned to the letters.
-Some modes may not work on some terminals. B<Normal>
+Echo the matched line. The text mode may be I<normal>, I<clear>, I<reset>, I<bold>
+I<underline>, I<underscore>, I<blink>, I<reverse>, I<concealed>, I<black>, I<red>
+I<green>, I<yellow>, I<blue>, I<magenta>, I<on_black>, I<on_red>, I<on_green>
+I<on_yellow>, I<on_blue>, I<on_magenta>, I<on_cyan>, I<on_white>. The <on_> colors
+specify a highlighting color. Some modes may not work on some terminals. B<Normal>
 is the default.
+For B<modes> changes and additions check perl module Term::ANSIColor man page.
 
 =item B<bell [N]>
 
@@ -1211,8 +1210,8 @@ Echo the matched line, and send a bell I<N> times (default = 1).
 
 Execute I<command>. The I<command> may contain variables which are 
 substituted with fields from the matched line. A I<$N> will be replaced
-by the I<Nth> field in the line. A I<$0> or I<$*> will be replaced by the
-entire line.
+by the I<Nth> field in the line. A I<$_> will be replaced by the entire
+line. Variable I<$0> will show the name of the executed script.
 
 =item B<mail [addresses=address:address:...][,subject=your_text_here]>