Mercurial > repo
view bin/thanks @ 4422:0dd2430deb55
<kmc> printf \'echo "$1" | /hackenv/lib/c++decl\\n\' > bin/c++decl && chmod +x bin/c++decl
author | HackBot |
---|---|
date | Sun, 09 Feb 2014 02:02:26 +0000 |
parents | c216e32f5e2e |
children |
line wrap: on
line source
#!/usr/bin/perl $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Th/; } else { s/^./T/; } print "$_.";