Mercurial > repo
view bin/blessyou @ 8546:3422b00479f4
<shachaf> learn A universe is a poem in one stanza.
author | HackBot |
---|---|
date | Mon, 20 Jun 2016 08:26:49 +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 "$_.";