Mercurial > repo
annotate bin/thanks @ 8061:3450485897fc
<xfix> ` echo 4 8 15 16 23 42 > "wisdom/6 random numbers"
author | HackBot |
---|---|
date | Sun, 15 May 2016 07:29:13 +0000 |
parents | 685e004a3372 |
children |
rev | line source |
---|---|
5956
685e004a3372
<fizzie> ` sed -i -e \'s/perl/perl -CSDA/\' bin/thanks
HackBot
parents:
4531
diff
changeset
|
1 #!/usr/bin/perl -CSDA |
4531 | 2 $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Th/; } else { s/^./T/; } print "$_."; |