view bin/hi @ 3642:ad0ef27932ab

<Roujo> mv bin/cat bin/catcat
author HackBot
date Wed, 04 Sep 2013 17:53:31 +0000
parents c216e32f5e2e
children
line wrap: on
line source

#!/usr/bin/perl
$_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Hi $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/H/; } else { s/^./H/; } print "$_.";