Mercurial > repo
annotate bin/thanks @ 5983:e9e46956a506
<oerjan> mk wisdom/welcome.sv//Hej och v\xc3\xa4lkommen till den internationella knutpunkten f\xc3\xb6r esoterisk programmeringsspr\xc3\xa5ksdesign och -drifts\xc3\xa4ttning! F\xc3\xb6r mer information, se v\xc3\xa5r wiki: <http://esolangs.org/>. (F\xc3\xb6r den andra sortens esoterism, pr\xc3\xb6va #esoteric p\xc3\xa5 EFnet eller DALnet.)
author | HackBot |
---|---|
date | Mon, 14 Sep 2015 17:49:06 +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 "$_."; |