Mercurial > repo
comparison 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 |
comparison
equal
deleted
inserted
replaced
11725:140e01ef1912 | 11726:1903db8fb09c |
---|---|
1 #!/usr/bin/perl -CSDA | 1 #!/usr/bin/perl -CSDA |
2 $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Th/; } else { s/^./T/; } print "$_."; | 2 $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY0134]/) { s/^[^aeiouyAEIOUY0134]*/Th/; } else { s/^./T/; } print "$_."; |