[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A suggestion to add to gnu ed: command line option to start on line
From: |
John Cowan |
Subject: |
Re: A suggestion to add to gnu ed: command line option to start on line foo or bar. |
Date: |
Sun, 19 Feb 2023 07:07:11 -0500 |
Sounds good to me, but I don't have the time/energy to write the code at
the moment.
On Sun, Feb 19, 2023 at 6:04 AM Martin Guy <martinwguy@gmail.com> wrote:
> On 19/02/2023, John Cowan <cowan@ccil.org> wrote:
> > I would suggest [...] line argument +n causes the current line to be n,
> > and [...] +/pattern causes the current line to be the first line matching
> > the pattern.
>
> I concur. I was surprised to find that it doesn't already do this.
> Let's call it a GNU extension :)
> Would you like to prepare a patch to review?
> That way, even if it doesn't get accepted for mainline,
> we can all have our own versions that do :))
>
> M
>