8
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]

Good old ed(1). I don't know why, but every now and then I like to edit my files using ed(1). Are there frequent ed(1) users around here? What is your motivation to use it?

top 6 comments
sorted by: hot top new old
[-] [email protected] 7 points 2 weeks ago* (last edited 2 weeks ago)

To quote Peter H. Salus: ed is "the most user-hostile editor ever created". So nope, I'm sticking to micro ^ ^

[-] [email protected] 2 points 2 weeks ago

There is some truth in that statement.

I was pondering over why I go back to ed every once in a while. I think because it's kind of a problem solving puzzle. It helped / helps me to understand and use regular expressions.

(Open)vi is my daily driver which is fine for my use case (mainly groff files to make tests and other documents).

Thanks for bringing micro up. Seems like a nice editor. Never heard of it tbh.

https://micro-editor.github.io/index.html

[-] [email protected] 5 points 2 weeks ago

ed is outdated technology. I recommend sed, I am using it each day to edit my files. Did you know that sed has it's own scripting language, based on regular expressions? I can totally parse a .csv file using sed script, and this will take me less than a hour.

[-] [email protected] 5 points 2 weeks ago
s/it's/its/
[-] [email protected] 2 points 2 weeks ago

I should have mentioned that I meant interactive mode. Thus as editor.

I'm familiar with sed and awk.

[-] [email protected] 5 points 2 weeks ago

I've upgraded to ex recently. No point in living in the stone ages!

this post was submitted on 20 May 2025
8 points (78.6% liked)

Linux

10975 readers
173 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS