view bin/blessyou @ 12214:4d504750c68e draft

<oerjan> slwd locale//s,on.*le,one true locale,
author HackEso <hackeso@esolangs.org>
date Sat, 30 Nov 2019 02:12:16 +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 "$_.";