![]() |
|
Book reviews Reviews of books related to BSD and computing in general. |
![]() |
|
Thread Tools | Display Modes |
|
||||
![]()
Ed Mastery
By Michael W Lucas Mars 2018 ISBN-10 : 1642350036 ISBN-13 : 978-1642350036 Quote:
|
|
||||
![]()
I discovered ed(1) by reading the topic Help with doas.conf OpenBSD 6.5 (thanks!).
Ed Mastery is a very good book to learn ed(1). Lucas explained very well how to use it: command, regex (regular expression), search, substitution, with scripting... step by step new informations are given to mastery ed, like this it is more easy to understand, it is uncomplexity. I know I have to pratice ed. Reading this book was an adventure I enjoy! Like Ken Thompson said: “I’m glad someone’s finally giving ed the attention it deserves.” Plus I like his writing style, his humor and his knowledge, I need another Lucas's books now ahah!!! |
|
|||
![]()
It does come in handy at times.
I find it installed in base systems almost always. Back, in the day on many main frames, it was the "only" editor. It does stimulate the brain, in that it does make thinking ahead a bit of a pleasure. In addition it has a very small footprint. ![]() |
|
||||
![]()
I haven't read the book, but I've become a big fan of ed for the simple fact that it's included in the OpenBSD base system and that it allows you to perform scripted file edits. I wasn't aware that you can do that until I came across this blog post by solene@ which pointed me in the right direction:
https://dataswamp.org/~solene/2018-1...n-diff-ed.html Since then ed has become my favourite system administration tool. I make heavy use of it in my now 2500 line long /install.site Quote:
![]() |
|
|||
![]()
One of my favorite quote's from https://www.gnu.org/fun/jokes/ed-msg.html
"Ed is for those who can remember what they are working on." ![]() But Seriously! My 2 cents Ed facilitates and enhances the ability of one to "focus" on the "line" of code they are working on! Back in the day - When ANSI certifying Power Plant Simulation Code Response to a multitude of failure testing, I thought Ed was superb for that purpose. (That was 25-30 yrs ago, don't know or care what they use today) ![]() Last edited by frcc; 6th October 2019 at 01:01 PM. Reason: add/clarify |
|
|||
![]()
I read a document of this book a while ago as an introduction to the ed(itor), and I thoroughly enjoyed reading it, especially in a world where most manuals aren't fun to read, for whatever reason. I still actively use ed for text editing, as the inherent challenge that comes with it gives a sense of satisfaction--though I can't say it's very good for writing.
|
|
|||
![]() Quote:
|
|
||||
![]()
Tried to attach it, but the forum told me it was invalid. (I suspect I did something wrong.)
I've uploaded it, you can get it from https://srobb.net/almavimrc |
|
|||
![]() Quote:
Code:
bmp bz2 c cnf conf cpp css diff gif gz h hpp html jpeg jpg patch pdf php pl png ps py rb sgml sh shar svg t2t tar tbz tgz txt vim xcf xsl xslt xwd zip ![]() PS I downloaded the file, gave it the extension .txt and attached it without any problem .....
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump Last edited by J65nko; 20th June 2022 at 12:07 AM. |
|
||||
![]()
Like I said, I probably did something wrong, and sure enough I did. I didn't put a txt extension. In fairness to myself., it was just as easy to upload it to my website, so when it didn't upload, I just shrugged and uploaded. I didn't even look at the note about legit extensions.
|
|
|||
![]()
Quite interesting vimscript there, thanks!
|
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Security DNSSEC Mastery | ocicat | News | 4 | 13th June 2013 03:27 AM |