Mercurial > repo
view bin/blessyou @ 8173:5af82a73aca4
<oerjan> ` sed -i \'s/He can[^.]*./Now when he tries to remember a word, "amortized" pops up instead./\' wisdom/oerjan
author | HackBot |
---|---|
date | Thu, 26 May 2016 00:53:37 +0000 |
parents | 4cc6f4753408 |
children | fea38c2307ee |
line wrap: on
line source
#!/usr/bin/perl $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Bless you, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Bl/; } else { s/^./B/; } print "$_.";