Mercurial > repo
view bin/hi @ 4321:c3ca4ed90be7
<mrhmouse> mv repeat /hackenv/bin/repeat
author | HackBot |
---|---|
date | Thu, 16 Jan 2014 22:53:15 +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 "$_.";