Scan latest.log in scan-all, change suffix from .log.gz.scanned to .scanned
Change `echo ... | grep -q ...` into [[ ... == *...* ]] everywhere