Mercurial > repo
annotate bin/thanks @ 3153:60043c395e11
<shachaf> sed -i \'s/:/${@:+ }$@:/\' bin/smlist
author | HackBot |
---|---|
date | Tue, 18 Jun 2013 23:51:16 +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 "$_."; |