Created
March 31, 2009 20:09
-
-
Save samsouder/88381 to your computer and use it in GitHub Desktop.
Output a gzip-encoded stream for any standard input given.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
php -r "echo gzencode(file_get_contents('php://stdin'));" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment