Re: Historical question on y command

Tim Chase <[email protected]>
Newsgroups gmane.editors.sed.user
Message-ID <[email protected]>
On 2014-02-23 16:28, Pedro Izecksohn wrote:

I agree that it's a delight to see the old guard hanging out on the
list after such a long time.

> I invented the 'D' command and the back-slash followed by the
> line-feed that follows the commands 'a', 'i' and 'c'. And I regret
> having suggested all these features.)  

While you're welcome to regret the backslash-linefeed for a/i/c,
please don't regret "D", as I use it enough to miss it considerably
were it not to be there.  Even if it could roughly be replicated with
something like

  s/^[^\n]*\n//;n

However, that could alter the successful-substitution flag for t/T
which is a side effect that would make me need to work around.

So thanks for your and all the others who make & maintain sed!

-tkc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.