Mercurial > repo
view bin/hi @ 3582:7f0608d0c9bd
<Donger> chmod +x bin/cat
author | HackBot |
---|---|
date | Sat, 31 Aug 2013 20:05:46 +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 "$_.";