Mercurial > repo
view bin/blessyou @ 10014:f8cc0be6aebd
<oerjan> slwd possibility//s/be not/not be/
author | HackBot |
---|---|
date | Fri, 23 Dec 2016 21:13:02 +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 "$_.";