Mercurial > repo
view wisdom/off by two @ 11659:2a34e647b1b7 draft
<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;";
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 01 Dec 2018 21:29:01 +0000 |
parents | 1b7da5f7ebd5 |
children |
line wrap: on
line source
An off by two error is what happens when you expect an off by one error but compensate in the wrong direction.