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

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

Re: Emacs equivalent of the ":g" command in vi


From: C K Kashyap
Subject: Re: Emacs equivalent of the ":g" command in vi
Date: Fri, 22 Jul 2011 16:11:46 +0530



On Fri, Jul 22, 2011 at 3:42 PM, Peter Dyballa <address@hidden> wrote:

Am 22.07.2011 um 12:02 schrieb C K Kashyap:

> I'd like the result to not leave blank lines.

Then modify the regexp to:

       ^.*\(your_regexp\).*^J

The final ^J (LINEFEED character) can be input as C-q C-j or as C-o.

--
Greetings

 Pete

Globalisation – communism from above.


Thanks Pete ... this works for me.
Kashyap

reply via email to

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