Pipe to gzip

 cat footprints.sql | ./scrub.pl | gzip -f > clean.sql

cat myfile.txt | gzip -f > myfile.txt.gz
Comments