Monthly Archives: February 2011

Shell Script: Testing Gzip

I found this old shell script I have written long time ago. I called it httpgztest. #!/bin/bash NOGZ=`wget “$1″ -q -O- | wc -c` echo “Without gzip: $NOGZ” YESGZ=`wget –header=”Accept-Encoding: gzip, deflate” “$1″ -q -O- | wc -c` echo “With … Continue reading

Posted in Linux, Mac OS X, Random Stuff | Leave a comment