Mercurial > repo
diff bin/thanks @ 5643:56dcce63901b
<tswett> revert
author | HackBot |
---|---|
date | Sun, 21 Jun 2015 02:47:59 +0000 |
parents | 7f957c1f4661 |
children | 685e004a3372 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/thanks Sun Jun 21 02:47:59 2015 +0000 @@ -0,0 +1,2 @@ +#!/usr/bin/perl +$_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Th/; } else { s/^./T/; } print "$_."; \ No newline at end of file