3 ms·
Nice - I've been getting overly familiar with sed recently because it's one of the few tools that we can trust to be installed for our minimal-dependency NBD se
by rwmj 8y ago
Nice - I've been getting overly familiar with sed recently because it's one of the few tools that we can trust to be installed for our minimal-dependency NBD server. Unfortunately we also need to work across Linux, FreeBSD and OpenBSD. However I've not needed to write anything as large as this maze-solver. It's text hacks like: https://github.com/libguestfs/nbdkit/blob/b8d80d3df90eaa32ef9886b87fe79205ede24b49/server/protostrings.sed#L33 https://github.com/libguestfs/nbdkit/blob/b8d80d3df90eaa32ef...