Zip all files returned from "grep-ril" command
Solution 1:
Use the zip command line switch -@
to have zip
take the list of input files from standard input instead of from the command line. For example,
grep -ril "test string" | zip name-of-new-zip-file -@