Mercurial > repo
view bin/blessyou @ 11986:698144535354 draft
<kspalaiologos> addquote <lf94> kspalaiologos: yes, it\'s much more enjoyable sitting in #esoteric than chiselling 99 bottles of beer into a rock.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Thu, 24 Oct 2019 19:25:02 +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 "$_.";