On 2022-10-02 09:18:15 +0200, Harry Graf wrote: ] I made an improvement in ed: creating macros!
Nice! An alternative approach using registers can be found here: https://github.com/slewsys/ed/blob/b2e4681c3627f7b135cb4702c6071c628e5dcd6d/src/aux.c#L391 And documented here: https://github.com/slewsys/ed#macros What I like about your version is the simpler syntax. So it would more likely be used in practice. Thank you! -AM