view bin/hi @ 6552:8f655a53a592

<oerjan> ` sed -i \'s!bin/UnicodeD!share/UnicodeD!\' bin/multicode; mv {bin,share}/UnicodeD*
author HackBot
date Wed, 13 Jan 2016 01:26:59 +0000
parents 7f957c1f4661
children 140e01ef1912
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 "$_.";