Mercurial > repo
view bin/blessyou @ 6581:bfa164c8d4f2
<lifthrasiir> ` (echo \'#!/bin/sh\'; echo pung) > bin/pong && chmod a+x bin/pong
author | HackBot |
---|---|
date | Mon, 18 Jan 2016 07:07:21 +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 "$_.";