Mercurial > repo
annotate bin/thanks @ 3179:36efb2c68409
<oerjan> pastelogs next door
author | HackBot |
---|---|
date | Thu, 20 Jun 2013 08:08:25 +0000 |
parents | bb75acbc97c0 |
children | c216e32f5e2e |
rev | line source |
---|---|
3053 | 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 "$_."; |