Mercurial > repo
view bin/hi @ 4211:d616398f84e7
<fizzie> sed -i -e \'s/| head //\' bin/quoth # gonna bork it up somehow...
author | HackBot |
---|---|
date | Fri, 20 Dec 2013 13:57:08 +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 "$_.";