view bin/thanks @ 12207:d4f0e5a1bafd draft

<oerjan> slwd moony//s,moony ,moon ,;s,moon,moony,
author HackEso <hackeso@esolangs.org>
date Fri, 29 Nov 2019 02:48:25 +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 "$_.";