On Tue, 27 Sep 2022, 09:27 Stefano Callegari, <ste.calleg...@tiscali.it> wrote:

> I have an email like this every cron

> grep: warning: stray \ before !
> grep: warning: stray \ before "
> grep: warning: stray \ before "
> grep: warning: stray \ before &
> grep: warning: stray \ before "
> grep: warning: stray \ before "
> grep: warning: stray \ before "
>
> and many more lines.

Think this is an issue in the rules shipped by debian - there have
been some unwanted backslashes in some rules files for ages, and
apparently  grep has started warning about these. The rules should
only quote things that are special for regular expressions, so +, ., *
( etc, but not other characters

The patch in  https://salsa.debian.org/debian/logcheck/-/merge_requests/14
should fix these - please review!

Reply via email to