Hi,

On Mon, Sep 25, 2017 at 12:37:57AM +0200, Adam Borowski wrote:
...
> Here's a patch that implements "~/.boring-bugs".  If such a file exists, all
> lines starting with a bug number make rc-alert and tools that use it filter
> out those bugs.

Interesting idea.  I thought it needs to update manpage rc-alert.1 too.
Maybe for clarity, something like the following may be a good idea.

  The valid bug number should be listed by itself or followed by a
  whitespace.  All other contents in the "~/.boring-bugs" are treated as
  the comment.

> +    while (<BOR>)
> +    {
> +     next unless /^(\d+)\s/;
> +     $boring{$1} = 1;
> +    }
> +    close BOR;

Osamu

Reply via email to