Mercurial > repo
view bin/hi @ 3657:bde9f37caed9
<Roujo> paste
author | HackBot |
---|---|
date | Fri, 06 Sep 2013 18:42:19 +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 "$_.";