Mercurial > repo
view bin/hi @ 3705:5d6ec07e99da
<oerjan> echo test >>test; cat test
author | HackBot |
---|---|
date | Wed, 11 Sep 2013 04:51:25 +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 "$_.";