.@mwlauthor's new "Ed Mastery" book is really fun. I've been learning about vim/unix history this morning by reading it!https://www.michaelwlucas.com/tools/ed
-
Show this thread
-
one cool tidbit: In Ed, you can search your file for a regular expression 're' with the command 'g/re/p'. That's where the name 'grep' come from!!
2 replies 20 retweets 121 likesShow this thread -
also: I can change the default filename for a Vim buffer by using 'f filename'! I've wanted to do that for YEARS but never thought to look up how :)
5 replies 6 retweets 33 likesShow this thread -
using ed scripting in shell scripts to create/modify files looks extremely fun (though I don't think my coworkers would be happy :))
10 replies 5 retweets 37 likesShow this thread -
Replying to @b0rk
So I learned unix commands initially because I found a UNIX System Operator’s manual or somesuch and read it cover to cover.. years before I ever found a prompt (Mac OS 10.0 followed quickly by FreeBSD). Which meant that for years.. the only editor I knew of was ed.
1 reply 0 retweets 14 likes -
Replying to @starsandrobots @b0rk
It’s great to learn about uses of ed (scripting!) that aren’t “feel like you are typing with your eyes closed”
1 reply 0 retweets 3 likes
I was similarly thrilled when I saw scripting usage of the command “yes” for the first time.. using “yes” during an install process will accept any user y/n prompt and get your script through to completion.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.