Mercurial > repo
view bin/blessyou @ 7855:026b49a1ce5f
<tswett> sed \'s/coin/loin/\' < bin/coins > bin/loins
author | HackBot |
---|---|
date | Fri, 06 May 2016 03:21:14 +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 "$_.";