Mercurial > repo
view bin/thanks @ 4381:e979f67fe1fb
<boily> ` chmod 0755 bin/hd
author | HackBot |
---|---|
date | Thu, 30 Jan 2014 18:40:56 +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 "$_.";