bug-ed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: improvement for ed: macros


From: Andrew L. Moore
Subject: Re: improvement for ed: macros
Date: Tue, 11 Apr 2023 15:20:46 -0700
User-agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]