Re:Chess Written in GNU Sed
by anthk on Monday October 16, 2023 @08:02PM
(#37908366)
awk can do much more than sed. And, with patience, you could even write a Z-machine interpreter on it as some guy did with postscript. You might have to convert the binary input to hex first with xxd/od in order to parse the opcodes in a nice way, but everything else would be simulated from awk.
[ Parent
| on HN ]