view bin/blessyou @ 10233:c776e4084a34

<oerjan> sled bin/xkcdwhatiflist//$aTaneb
author HackBot
date Fri, 10 Feb 2017 16:48:32 +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 "$_.";