Mercurial > repo
annotate bin/thanks @ 3350:9a27716ad84e
<olsner> pastelogs ursala
author | HackBot |
---|---|
date | Thu, 01 Aug 2013 19:06:42 +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 "$_."; |