Recent versions of egrep (now included in openSUSE Tumbleweed) now print a deprecation warning, saying to use "grep -E". For example:
--------------------- fail2ban-messages Begin ------------------------
egrep: warning: egrep is obsolescent; using grep -E
---------------------- fail2ban-messages End -------------------------
It'd be great if logwatch's scripts could be updated to use "grep -E".
proposed patch
Thanks for the patch.
While in the past
egrepwas a separate executable, its functionality has been incorporated asgrep -Efor many years now, so this is unlikely to break still running systems.So... would you like to merge it? I do not see it merged.
Sorry; I had committed the changes, but neglected to push them. Should be there now.