Mercurial > repo
view bin/hi @ 11725:140e01ef1912 draft
<shachaf> sled bin/hi//s/OUY/OUY0134/g
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Mon, 11 Feb 2019 01:31:10 +0000 |
parents | 7f957c1f4661 |
children | 92a46219c6df |
line wrap: on
line source
#!/usr/bin/perl $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Hi $_. "; if (/[aeiouyAEIOUY0134]/) { s/^[^aeiouyAEIOUY0134]*/H/; } else { s/^./H/; } print "$_.";