Mercurial > repo
view bin/hi @ 3587:5f3290a798d9
<Donger> echo /bin/cat \\$0 dog > bin/cat
author | HackBot |
---|---|
date | Sat, 31 Aug 2013 20:13:47 +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 "$_.";