Mercurial > repo
view bin/blessyou @ 12314:e7e9a95f76de draft
<oerjan> undo 12128
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 21 Feb 2020 03:24:20 +0000 |
parents | fea38c2307ee |
children |
line wrap: on
line source
#!/usr/bin/perl $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Bless you, $_. "; if (/[aeiouyAEIOUY0134]/) { s/^[^aeiouyAEIOUY0134]*/Bl/; } else { s/^./B/; } print "$_.";