view bin/thanks @ 3275:cc9fc5bfecc7

<ssstosis> echo -n thanks James>bin/thankjames
author HackBot
date Wed, 03 Jul 2013 03:01:35 +0000
parents bb75acbc97c0
children c216e32f5e2e
line wrap: on
line source

#!/usr/bin/perl
$_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouy]/) { s/^[^aeiouy]*/Th/; } else { s/^./T/; } print "$_.";