Mercurial > repo
annotate bin/thanks @ 6244:bd58ac6f0c97
<oerjan> ` echo \'\' >>wisdom/\'imperative language\'
author | HackBot |
---|---|
date | Mon, 23 Nov 2015 10:42:42 +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 "$_."; |