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?

  • CheeseCakeCat
    link
    fedilink
    English
    7
    edit-2
    14 hours ago

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

    • @misterbzr@lemm.eeOP
      link
      fedilink
      English
      26 hours 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

  • pelya
    link
    fedilink
    English
    515 hours 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.

    • @misterbzr@lemm.eeOP
      link
      fedilink
      English
      215 hours ago

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

      I’m familiar with sed and awk.