Mercurial > repo
view bin/thanks @ 3062:98731c813a74
<nooodl> chmod +x bin/thanks
author | HackBot |
---|---|
date | Wed, 05 Jun 2013 19:19:50 +0000 |
parents | 6e797597142d |
children | bb75acbc97c0 |
line wrap: on
line source
#!/usr/bin/perl $_ = $ARGV[0] || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouy]/) { s/^[^aeiouy]*/Th/; } else { s/^./T/; } print "$_.";