From: Bakul Shah <bakul@iitbombay.org>
To: TUHS main list <tuhs@minnie.tuhs.org>
Subject: Re: [TUHS] Remember the ed thread?
Date: Tue, 30 Mar 2021 19:34:10 -0700 [thread overview]
Message-ID: <105E2543-5C8D-4AE3-ABB1-6C3CE46474C2@iitbombay.org> (raw)
In-Reply-To: <CAD2gp_RCYy=bTxWQfc1=NppWXmAxsoMSoFn=udED3aZ+JgkBbg@mail.gmail.com>
On Mar 30, 2021, at 4:38 PM, John Cowan <cowan@ccil.org> wrote:
>
> I missed the fact that Posix and Linux ed support s/foo/bar/3 (as opposed to s3/foo/bar); ex does not, unfortunately.
By analogy with s/RE/replacement/g, it would have made more sense
to allow sN/foo/bar/M to mean replace M instances of foo with bar,
starting the Nth instance of foo. N & M default to 1. M can also be g.
> We need a Great Unification of Line Editors.
Add in sam's command language as well!
Alternately I'd want k style array language built in, enhanced with
regexps.
next prev parent reply other threads:[~2021-03-31 2:34 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAKH6PiXmR6Jv0bkyOtHuk1ZLV64aeW7bnQkUnzV9-G_JaUVDAA@mail.gmail.com>
2021-03-30 23:38 ` John Cowan
2021-03-31 2:34 ` Bakul Shah [this message]
2021-03-31 0:54 Norman Wilson
2021-03-31 1:29 ` John Cowan
-- strict thread matches above, loose matches on Subject: below --
2021-03-29 23:21 M Douglas McIlroy
2021-03-30 3:39 ` Rich Morin
2021-03-29 15:58 Norman Wilson
2021-03-30 0:11 ` John Cowan
2021-03-29 14:34 Larry McVoy
2021-03-29 15:09 ` Anders Damsgaard
2021-03-29 15:26 ` Brantley Coile
2021-03-29 15:36 ` Mark van Atten
2021-03-29 15:43 ` Brantley Coile
2021-03-29 15:52 ` Mark van Atten
2021-03-29 15:45 ` Andy Kosela
2021-03-29 15:51 ` Clem Cole
2021-03-29 17:22 ` arnold
[not found] ` <CALMnNGgWrFRjXk5N4PgTj0_Yw3W5nCR2=CYSASM6dnqTooy8Dw@mail.gmail.com>
2021-03-30 8:53 ` arnold
2021-03-29 15:37 ` Clem Cole
2021-03-29 15:42 ` Anders Damsgaard
2021-03-29 15:49 ` Larry McVoy
2021-03-29 16:01 ` Andy Kosela
2021-03-29 18:12 ` Tom Ivar Helbekkmo via TUHS
2021-03-29 16:20 ` Steve Nickolas
2021-03-29 19:50 ` Rob Pike
2021-03-29 20:50 ` Michael Usher via TUHS
2021-03-29 20:55 ` Larry McVoy
2021-03-29 21:10 ` Erik E. Fair
2021-03-29 21:14 ` Larry McVoy
2021-03-29 21:53 ` Clem Cole
2021-03-29 22:29 ` John P. Linderman
2021-03-30 4:30 ` Rob Pike
2021-03-30 7:37 ` Harald Arnesen
2021-03-30 15:00 ` Kenneth Goodwin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=105E2543-5C8D-4AE3-ABB1-6C3CE46474C2@iitbombay.org \
--to=bakul@iitbombay.org \
--cc=tuhs@minnie.tuhs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).