Mercurial > repo
annotate wisdom/`hello @ 12470:71a8d7ee2045 draft
<int-e> learn UML is short for "Umlaut". It powers H\xc3\xa4ckes\xc3\xb6.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 13 Jan 2023 02:06:12 +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. |