Oh and there's more which IMO can be improved.
If people take the currently named pattern:
- /var/log/mail.{info,warn,err,log}*
- /var/log/lpr.log*
- /var/log/{messages,debug,daemon}*
the may accidentally delete quite some other files. e.g. anything that
starts with debug.
Also, daemon is actually daemon.log .
The following would be at least a bit more restrictive:
/var/log/mail.{info,warn,err} /var/log/lpr.log /var/log/{messages,debug,daemon.log}
/var/log/mail.{info,warn,err}.* /var/log/lpr.log.* /var/log/{messages,debug,daemon.log}.*
not perfect though, cause it could still select unrelated files