Mercurial > repo
view bin/cAt @ 11328:56b2bb1446bb
<wob_jonas> perl -e open$h,"<",($f="wisdom/font");local$/;$_=<$h>;s/ \\S+sample\\.png// or die; if (1) { open $o,">",$f;print$o $_; } print;
author | HackBot |
---|---|
date | Wed, 17 Jan 2018 21:00:31 +0000 |
parents | a5d6333f9e41 |
children |
line wrap: on
line source
#!/usr/bin/env python import sys sys.stdout.write ((lambda s: "".join([(s[i].upper() if i%2!=0 else s[i].lower()) for i in range(len(s)) ]))(open("/dev/stdin").read()))