Mercurial > repo
annotate wisdom/`hello @ 12299:94e16e8b0418 draft
<oerjan> learn zemhill is a bot for playing BF Joust, something we cannot underscore enough.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Tue, 07 Jan 2020 07:33:42 +0000 |
parents | 2a34e647b1b7 |
children |
rev | line source |
---|---|
11659
2a34e647b1b7
<b_jonas> perl -e open$I,"<",($n="wisdom/`hello") or die; local$/; $c=<$I>; eof$I or die"e"; $c=~s!/d,/d/!/o,/o/! or die "s"; open $O,">",$n or die"O"; print $O $c or die"p"; warn "edited $f;";
HackEso <hackeso@esolangs.org>
parents:
10267
diff
changeset
|
1 `hello prints variants of hello, world. To control format, pass a single letter as command-line argument. "@"=>"hello, world", "H"=>"hello, world.", P=>"hello, world!", "X"=>"hello, world,", take 1 letter later to s/h/H/, 2 letter later to s/o,/o/, 4 letter later to s/w/W/, lowercase to remove newline. |