view bin/blessyou @ 6223:fb412a31386c

<tswett> echo \'words ${1---eng-1M --esolangs 20} | sed -re \'\\\'\'s/( |$)/lang\\1/g\'\\\' > bin/langs
author HackBot
date Thu, 19 Nov 2015 01:51:15 +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 "$_.";