Mercurial > repo
view bin/thanks @ 11273:819296960fe6
<oerjan> slwd `revert//s,http.*bot,https://hackego.esolangs.org,
author | HackBot |
---|---|
date | Sat, 16 Dec 2017 20:29:48 +0000 |
parents | c989a1669243 |
children | 1903db8fb09c |
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 "$_.";