Mercurial > repo
view bin/thanks @ 5856:93f6cb924cec
<shachaf> ` sed -i \'s/created/invented by Taneb/\' wisdom/universe
author | HackBot |
---|---|
date | Tue, 21 Jul 2015 21:22:00 +0000 |
parents | 7f957c1f4661 |
children | 685e004a3372 |
line wrap: on
line source
#!/usr/bin/perl $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Th/; } else { s/^./T/; } print "$_.";