Mercurial > repo
view bin/hi @ 4252:f7f702fd6fb8
<oerjan> sed -i \'s/p/P/\' wisdom/ph\xe1\xbb\x9f
author | HackBot |
---|---|
date | Mon, 30 Dec 2013 21:59:03 +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 "$_.";