Mercurial > repo
annotate bin/hi @ 12353:9e69a48ed481 draft
<wib_jonas> `` perl -pi -e \'s/xrange/range/\' /hackenv/bin/password
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 04 Nov 2020 14:38:13 +0000 |
parents | 92a46219c6df |
children |
rev | line source |
---|---|
4531 | 1 #!/usr/bin/perl |
11845
92a46219c6df
<wob_jonas> perl -e open$I,"<",$c="bin/hi"; local $/; $s=<$I>; $s=~s/`words`/\\$ENV{IRC_NICK}/ or die; if (1) { open $O,">",$c or die; print $O $s or die; } print $s;
HackEso <hackeso@esolangs.org>
parents:
11725
diff
changeset
|
2 $_ = (join " ", @ARGV) || $ENV{IRC_NICK}; s/^\s+|\s+$//g; print "Hi $_. "; if (/[aeiouyAEIOUY0134]/) { s/^[^aeiouyAEIOUY0134]*/H/; } else { s/^./H/; } print "$_."; |