Mercurial > repo
view bin/blessyou @ 11791:39b54ea727fc draft
<oerjan> fetch share/UnicodeData.txt http://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 17 Apr 2019 23:52:44 +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 "$_.";