annotate bin/thanks @ 3228:b91026af64ea

<elliott> pastelogs zzo38.*haskell.*CPP
author HackBot
date Sun, 23 Jun 2013 12:47:21 +0000
parents bb75acbc97c0
children c216e32f5e2e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3053
aa66025be094 <nooodl> mv index.html bin/thanks
HackBot
parents: 3050
diff changeset
1 #!/usr/bin/perl
3063
bb75acbc97c0 <nooodl> sed -i \'s/\\$ARGV\\[0\\]/(join " ", @ARGV)/\' bin/thanks
HackBot
parents: 3061
diff changeset
2 $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouy]/) { s/^[^aeiouy]*/Th/; } else { s/^./T/; } print "$_.";