view bin/thanks @ 11726:1903db8fb09c draft

<fizzie> ` sled bin/thanks//s/OUY/OUY0134/g # for consistency
author HackEso <hackeso@esolangs.org>
date Mon, 11 Feb 2019 01:32:18 +0000
parents c989a1669243
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 "$_.";