bug-ed
[Top][All Lists]
Advanced

[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: Martin Guy
Subject: Re: A suggestion to add to gnu ed: command line option to start on line foo or bar.
Date: Sun, 19 Feb 2023 12:04:49 +0100

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]