Mercurial > repo
view bin/thanks @ 9961:0dee4787ab8b
<boily> learn Pirates are humourously nautical persons. Their grammar is friendly and plural.
author | HackBot |
---|---|
date | Tue, 13 Dec 2016 23:09:01 +0000 |
parents | c989a1669243 |
children | 1903db8fb09c |
line wrap: on
line source
#!/usr/bin/perl -CSDA $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Th/; } else { s/^./T/; } print "$_.";