Mercurial > repo
view bin/thanks @ 8695:b09f2c5c49dd
<oerjan> ` chmod +x she*; mv she* bin
author | HackBot |
---|---|
date | Tue, 05 Jul 2016 01:20:24 +0000 |
parents | 685e004a3372 |
children |
line wrap: on
line source
#!/usr/bin/perl -CSDA $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Th/; } else { s/^./T/; } print "$_.";