annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4531
7f957c1f4661 <oerjan> revert
HackBot
parents:
diff changeset
1 #!/usr/bin/perl
11725
140e01ef1912 <shachaf> sled bin/hi//s/OUY/OUY0134/g
HackEso <hackeso@esolangs.org>
parents: 4531
diff changeset
2 $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Hi $_. "; if (/[aeiouyAEIOUY0134]/) { s/^[^aeiouyAEIOUY0134]*/H/; } else { s/^./H/; } print "$_.";