Mercurial > repo
view bin/thanks @ 3876:b900a39a96bb
<JWinslow23> learn Humphrey Bogart is a cousin to Lady Di.
author | HackBot |
---|---|
date | Sat, 05 Oct 2013 21:23:45 +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 "$_.";