view bin/blessyou @ 12284:82cb3de99d33 draft

<b_jonas> `` f=/hackenv/bin/botloop; >$f echo $\'#!/bin/sh\\necho no\'; chmod -c a+x "$f"
author HackEso <hackeso@esolangs.org>
date Wed, 01 Jan 2020 09:35:29 +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 "$_.";