Mercurial > repo
view bin/hi @ 8772:c7cde9ee53c1
<shachaf> slwd oerjan//s#under#oever#
author | HackBot |
---|---|
date | Sat, 09 Jul 2016 04:45:36 +0000 |
parents | 7f957c1f4661 |
children | 140e01ef1912 |
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 "$_.";