Mercurial > repo
view bin/thanks @ 12022:dff0129e4a40 draft
<b_jonas> fetch bin/whatis https://hack.esolangs.org/get/bin/whatis
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Thu, 14 Nov 2019 23:41:32 +0000 |
parents | 1903db8fb09c |
children |
line wrap: on
line source
#!/usr/bin/perl -CSDA $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY0134]/) { s/^[^aeiouyAEIOUY0134]*/Th/; } else { s/^./T/; } print "$_.";