view bin/thanks @ 5582:03ab4bf21ad7

<shachaf> le/rn newline/Newlines are le/rn\'s \\ biggest weakness.
author HackBot
date Mon, 15 Jun 2015 21:17:07 +0000
parents 7f957c1f4661
children 685e004a3372
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 "$_.";