I want to execute a command, have the output of that command get gzip\'d on the fly, and also echo/tee out the output of that command.
i.e., something like:
echo "hey hey, we're the monkees" | tee /dev/tty | gzip --stdout > my_log.gz
As pointed out in the comments, /dev/stdout might work better than /dev/tty in some circumstances.
/dev/stdout
/dev/tty