wc gzipped files?
I use too "cat file_name | gzip -d | wc -l"
You can use zgrep
to count lines as well (or rather the beginning of lines)
zgrep -c ^ file.txt
Try this zwc script:
#! /bin/bash --
for F in "$@"; do
echo "$(zcat -f <"$F" | wc -l) $F"
done