News for hackers. Stuff that matters.
Re:Maze-solving algorithm implemented in sed by cmiller1 on Tuesday January 08, 2019 @11:32AM (#18856807)
It's pretty nicely put together and commented, still trying to work through exactly how the interleave steps work though.
Re:Maze-solving algorithm implemented in sed by davidten on Tuesday January 08, 2019 @11:41AM (#18856877)
I’m one of the organizers of Hack N Roll and personally know the guy who built this.

He says that the code on Github is actually broken but he forgot in what way.. I still think it’s pretty cool though

Re:Maze-solving algorithm implemented in sed by saevarom on Tuesday January 08, 2019 @11:54AM (#18857030)
I tried running this on a Mac but got an error. Assumed it was because of some sed version difference. Perhaps the code on Github is just broken.
Re:Maze-solving algorithm implemented in sed by kritixilithos on Tuesday January 08, 2019 @12:08PM (#18857184)
That's probably because you used BSD sed. Running it on my BSD sed also gives an error, presumably because it thinks the `}` is a part of the label in `binput}`.

However it works fine in GNU sed, and now that you mention it, GNU sed's extensions were not used, like the `-z` flag to slurp all input in one "line" to avoid `:input;$!{N;binput}`.

Re:Maze-solving algorithm implemented in sed by bjoko on Tuesday January 08, 2019 @04:19PM (#18859806)
On macOS: install gnu-sed via Homebrew.
Re:Maze-solving algorithm implemented in sed by NeccoNeko on Tuesday January 08, 2019 @01:39PM (#18858125)
It works with the GNU sed that ships with GitBash on Windows.