Mercurial > p > roundup > code
view tools/base64 @ 2383:bacda30e7eb6
avoid duplicate $(PACKAGES): "uniq" ain't really unique without "sort"
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Sat, 29 May 2004 04:35:03 +0000 |
| parents | 740102dfad1d |
| children | c75defc1c2f0 |
line wrap: on
line source
#!/usr/bin/env python import zlib, base64, sys print base64.encodestring(zlib.compress(sys.stdin.read()))
