Mercurial > repo
view bin/thanks @ 11265:364f0d88ee3a
<oerjan> sled bin/learn_append//2s,s/.*;,,
author | HackBot |
---|---|
date | Tue, 12 Dec 2017 22:00:17 +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 "$_.";