Mercurial > repo
view bin/thanks @ 7305:f78fbf4ff95e
<b_jonas> learn Pike is an interpreted language that got sort of forgotten among the four big mainstream p-languages (perl, python, ruby, php).
author | HackBot |
---|---|
date | Tue, 29 Mar 2016 01:27:38 +0000 |
parents | 685e004a3372 |
children |
line wrap: on
line source
#!/usr/bin/perl -CSDA $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Th/; } else { s/^./T/; } print "$_.";