view bin/thanks @ 12316:563db84bb4f8 draft

<wib_jonas> fetch /hackenv/interps/egel/readme-hackeso.txt https://hack.esolangs.org/get/interps/egel/readme-hackeso.txt
author HackEso <hackeso@esolangs.org>
date Fri, 21 Feb 2020 11:59:21 +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 "$_.";