Your message dated Wed, 25 Mar 2020 22:50:18 +0100
with message-id <[email protected]>
and subject line Bug closed
has caused the Debian Bug report #648024,
regarding swatch: Manpage's example is missing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
648024: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648024
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: swatch
Version: 3.2.3-1
Severity: normal

$ man swatch
[...]
CONFIGURATION EXAMPLE
       In this example, a line which contains the string "file system full" 
will be echoed and the screen bell will sound.  Also, threshold will use what 
is matched within the
       parentheses as its key rather than trying to use the log message with 
its time stamp cut out. Multiple instances of the message will not be echoed if 
they appear within a
       minute of the first one. Instead the following message will be acted 
upon after the time interval has expired.

SEE ALSO
[...]

As you can see the example is missing.

However, the inlined perl doc gives :
=head1 CONFIGURATION EXAMPLE

=begin text 

perlcode my $fsf_regex = '\d{2}:\d{2}:\d{2}\s+(.* file system full)';

watchfor /$fsf_regex/
    threshold track_by=$1,type=limit,count=1,seconds=60
    echo
    bell

=end text

In this example, a line which contains the string "file system full" will
be echoed and the screen bell will sound.  Also, B<threshold> will use what 
is matched within the parentheses as its key rather than trying to use the 
log message with its time stamp cut out. Multiple instances of
the message will not be echoed if they appear within a minute of the 
first one. Instead the following message will be acted upon after 
the time interval has expired.  

Thanks in advance.

Best regards,

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages swatch depends on:
ii  libdate-calc-perl          6.3-1   
ii  libdate-manip-perl         6.25-1  
ii  libfile-tail-perl          0.99.3-4
ii  libtimedate-perl           1.2000-1
ii  perl [libtime-hires-perl]  5.12.4-6

swatch recommends no packages.

swatch suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Hello

This bug was already fixed in the current stable release (Buster).

Greetings, 
Marcos

--- End Message ---

Reply via email to