In the world of Unix, the choice of text editor is a serious matter that has sparked endless debates and flame wars. However, for those using real Unix systems like OpenBSD or FreeBSD, the standard editor is ed(1). Michael Lucas has written a book called “Ed Mastery” to help newcomers master this fundamental Unix tool. The book takes readers through editing sessions using the line editing interface of ed(1), showcasing its command set and its importance in Unix text processing programs. The book also delves into regular expressions and demonstrates how ed(1) can be a valuable tool in scripting. With this book, readers will gain a better understanding of text editing and processing tools, even if they choose not to switch to the standard editor. “Ed Mastery” is available directly from Michael W. Lucas’ books site.
https://bsdly.blogspot.com/2018/04/ed1-mastery-is-must-for-real-unix-person.html