in reply to Re: Searching a gzip file
in thread Searching a gzip file

But a gzipped file is binary, and counting the newlines in a binary file does not make much sense.