I'm using this command to find patterns in zip files (similar to the one) suggested here https://superuser.com/questions/144926/unix-grep-for-a-string-within-all-gzip-files-in-all-subdirectories
find . -regex ".*/.*zip" | xargs zgrep -m 1 -E "PATTERN"
Grepping still continues after first match. Probably
xargs is the culprit. How to stop finding after
grep finds first match?
P.S. How to stop the find command after first match? won't work because
find needs to be stopped after a match that succeeds grep and not just the first match of find.