annotate bin/thanks @ 3252:75e8a755bfd5

<oerjan> mv wisdom/hthmonoid{s,} # hth
author HackBot
date Sun, 30 Jun 2013 01:59:52 +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 "$_.";