Why i unironical use ed in 2022 -------------------------------- Ok, there is a plethora of really fancy modern editors out there, why do i use this totally anachronistic piece of prehistoric software? Have you ever used emacs over ssh session from a mobile phone? Or vi? Perhaps its just my inablility to learn the proper way to position my fingers correctly on a touchscreen to set the position of the cursor or select text without constantly overshooting and needing five or more retries to get stuff done, and don't get me started t ramble about scrolling on a relatively tiny smartphone screen... This is the environment where i think ed does really shine. Its simple, sleek, totally keyboard oriented, uses only a few, easy to learn bit powerful commands and doesn't waste any space on the screen for a menu or anything other than the txt you are working on. Of course the interface is different (not so much if you are into vi): When first started you see... pretty much nothing, only a 0 if you have invoke it without a file to open. The 0 indicates that there are 0 bytes in the buffer. Now if you press 'a' (for append) you can start typing your text. Did you made an typking mistake? No problem! Just hit return and make a '.' on an empty line, now you are back in command mode where you simply can type in 's/typking/typing/' and your error is gone. Now type 'a' again and you are back in append mode where you can finish your text. What did you write in lines 1-10? Easy to find out: Go back into command mode via '.' and enter '1,10p' and voila! There are your first ten lines. Finished writing and want a look at the complete text? Easy, ',p' will do the trick. Now just hit 'w' in command mode and your text is saved. Ed has many more tricks in its sleeve and is surely worth a look, even in 2022.