Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.editors > #106913 > unrolled thread

ed __ ___ ________ ____ ______.

Started byZayd Mohammed <zaydm@172.24.208.1>
First post2026-06-08 18:01 +0000
Last post2026-06-14 09:07 +0300
Articles 4 — 3 participants

Back to article view | Back to comp.editors


Contents

  ed __ ___ ________ ____ ______. Zayd Mohammed <zaydm@172.24.208.1> - 2026-06-08 18:01 +0000
    Re: ed __ ___ ________ ____ ______. Lumin Etherlight <lumin+usenet@etherlight.link> - 2026-06-09 02:59 +0300
      Re: ed __ ___ ________ ____ ______. Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-06-09 06:33 +0000
        Re: ed __ ___ ________ ____ ______. Lumin Etherlight <lumin+usenet@etherlight.link> - 2026-06-14 09:07 +0300

#106913 — ed __ ___ ________ ____ ______.

FromZayd Mohammed <zaydm@172.24.208.1>
Date2026-06-08 18:01 +0000
Subjected __ ___ ________ ____ ______.
Message-ID<slrn112e0rm.10m.zaydm@new.localdomain>
ed is the standard text editor.
right now, i am using ed to edit this post!
nvim is based on vim is based on vi is based on ex is based on ed
sed and grep are also based off of ed
ed was created from qed (from which sed takes some extra commands not in
 ed!)
ed was created by ken thompsom and dennis ritchie
https://x.com/ed1conf
https://linux.die.net/man/1/ed
https://wiki.c2.com/?EdIsTheStandardTextEditor
https://en.wikipedia.org/wiki/Ed_(text_editor)
ed, man! !man ed (or i guess really !info ed)
using ed is a little like using a shell.
first show the prompt (optional) by typing P and hitting enter.
now, here are some commands than can be ran in ed:
[type a number] - go to that line number (1 is first line)
a - append text in lines after the line you were on
to stop appending, type a single period in a line by itself, and hit ent
er.
you can put a line number before a command to go there before running it
.
. can also stand for a line number to mean the current line you are on.
[line number],[line number]d - deleter text from the first to second lin
e number inclusive.
e - chooses a file to edit
p - print the line you are on in case you forgot
! - runs a command.
you can use ! to edit the file you are inside by using %.
e.g. !fold -n 67 %
you can also use it with e: e !ncal
r - like e, buts appends instead of replaces
and = - shows how many lines there are in the file.
you can put . before it to show what line number you are currently on. (
.=)
s/regex/regex/ - substitutes the first instances of the first regex's ma
tch
with the second one. this command is used a lot in grep and sed, so it m
ay seem familiar.
newline by itself - go to the next line and print it (like the more comm
and)
these are just a few commands in ed. the see them all, along with more h
elp,
simply run `info ed'!
i think that's all.
reply here if you use ed and would like to talk about it, or if your nam
e is ed!

(this message is a repost from comp.unix.shell.)

-- 
https://zaydiscool777.github.io/index.html
https://beacons.ai/zaydiscool777
zaydiscool777@gmail.com

[toc] | [next] | [standalone]


#106917

FromLumin Etherlight <lumin+usenet@etherlight.link>
Date2026-06-09 02:59 +0300
Message-ID<jXBihU/YKji1FGEdCTpy1x2gl4n8pwYh@etherlight.link>
In reply to#106913
Zayd Mohammed <zaydm@172.24.208.1> writes:

> reply here if you use ed and would like to talk about it, or if your nam
> e is ed!
>
> (this message is a repost from comp.unix.shell.)

        Yup,  ed man!   I  really  enjoy working  in
  ed.  It is  comfy, and helps with focus  a lot.  I
  find myself  preferring it to Emacs  sometimes.  I
  cheat  a  little  by  running  it  inside  rlwrap,
  providing  some  additional   features  like  line
  editing, keyboard macros, and  a shortcut to clean
  the screen.  The power  of piping text to external
  utilities cannot be understated.   I like using it
  with `par'[1] to fold lines  and align them, and I
  use aspell from the command line to spellcheck.  I
  also  like running  !make  and  other commands  to
  build  and run  and test  projects from  inside ed
  itself.  I think it  fits perfectly with the "UNIX
  as IDE"  mindset.  Oh, and  this is not  a repost,
  I'm actually writing this message in ed right now~
  Oh, and did  I tell you about the  power of search
  backwards when using rlwrap with ed?  If I've done
  something before,  I don't have to  remember it or
  retype it, I just C-r to search my command history
  and repeat  the action very quickly.   Good stuff.
  All the  docs are  in ed too!  !man or  !info, you
  have it all at your fingertips.

        Sadly,  I always  end  up  in emacs  anyway,
  because it is a lot more than an editor to me (I'm
  using  GNUS  to  browse  and post  on  Usenet  for
  example), plus, no editor I've used supports other
  languages, especially  RTL ones, as much  as emacs
  does.  And I  need to be able to write  my RTL TeX
  documents.  In a way ed /does/ support RTL, if the
  underlying  terminal does,  but  no terminal  I've
  seen  ever supported  Arabic well  for that.   The
  closest was  mlterm iirc,  but still, it  felt off
  the whole time.

  So yeah, if anyone would like to talk about it~


Best Regards,
Lumin Etherlight

[toc] | [prev] | [next] | [standalone]


#106918

FromLawrence D’Oliveiro <ldo@nz.invalid>
Date2026-06-09 06:33 +0000
Message-ID<1108c49$3p7sr$1@dont-email.me>
In reply to#106917
On Tue, 09 Jun 2026 02:59:56 +0300, Lumin Etherlight wrote:

> The power of piping text to external utilities cannot be
> understated.

Maybe you meant “cannot be overstated” ... ?

Otherwise you’re saying that it could not be less powerful.

[toc] | [prev] | [next] | [standalone]


#106922

FromLumin Etherlight <lumin+usenet@etherlight.link>
Date2026-06-14 09:07 +0300
Message-ID<j1ImegbIqsvkauor0Pp2r70uUn9vzdj1@etherlight.link>
In reply to#106918
Lawrence D’Oliveiro <ldo@nz.invalid> writes:

> On Tue, 09 Jun 2026 02:59:56 +0300, Lumin Etherlight wrote:
>
>> The power of piping text to external utilities cannot be
>> understated.
>
> Maybe you meant “cannot be overstated” ... ?
>
> Otherwise you’re saying that it could not be less powerful.

  Yup, meant overstated, my mistake~
  Thanks for catching that :)

Best Regards,
Lumin Etherlight

[toc] | [prev] | [standalone]


Back to top | Article view | comp.editors


csiph-web