Mercurial > repo
view bin/thanks @ 11331:a7f50f1f75f7
<wob_jonas> perl -e open$h,"<",($f="wisdom/font");local$/;$_=<$h>; s"& \\S+/twitter\\.com/\\S+""; if (1) { open $o,">",$f;print$o $_; } print;
author | HackBot |
---|---|
date | Wed, 17 Jan 2018 21:03:18 +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 "$_.";