bug-ed
[Top][All Lists]
Advanced

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

improvement for ed: macros


From: Harry Graf
Subject: improvement for ed: macros
Date: Sun, 2 Oct 2022 09:18:15 +0200

Hey Guys,

I made an improvement in ed: creating macros!

E.g. if you want to print the lines 30 to 55 often.
Create the macro "oa":
oa 30,50n

Now you can execute the macro only with typing:
oa

Let me know, if we can implement the improvement in
the next version. It has only 17 lines off code.

In the attachment you can find the diff file 
depends on the ed version 1.18.


Greetings
Harry


Attachment: main_loop.diff
Description: Text document


reply via email to

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