view bin/thanks @ 3058:05a353b7da81

<nooodl> chmod +x bin/thanks
author HackBot
date Wed, 05 Jun 2013 19:16:14 +0000
parents 549b1d7eb8dc
children 8a371054e33d
line wrap: on
line source

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