Okay! so i have been fucking around with the ed source code. i am still learning c, and i am still not good at it. but i managed to modify it so i added my own command that prints a message when inputted. which is small, but i am very happy that i managed it! i sort of figured it out through the context of the other commands.

#c #programming #coding #ed