help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maximum buffer size exceeded


From: Marco Gidde
Subject: Re: Maximum buffer size exceeded
Date: 06 May 2004 10:21:29 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Eli Zaretskii <eliz@gnu.org> writes:

> > From: Marco Gidde <marco.gidde@tiscali.de>
> > Newsgroups: gnu.emacs.help
> > Date: 05 May 2004 13:45:22 +0200
> > 
> > And what if the modifications you want to make are not specific to
> > lines but to paragraphs? I think that would be a problem with sed.
> 
> No, it isn't.  Sed has a block construct, something like this:
> 
> /FOO/,/BAR/ {
>   s,FOOBAR,WHATEVER,
> }
> 
> This replaces FOOBAR with WHATEVER in the range of lines between the
> line that matches FOO and the line that matches BAR.

I did not know that. Thanks for the hint.


reply via email to

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