view bin/hi @ 9779:c4f7738a55c3

<oerjan> ` mv ops bin/ops
author HackBot
date Mon, 28 Nov 2016 16:47:14 +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 "$_.";