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

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

Re: Using grep with unsaved buffers.


From: Pascal Bourguignon
Subject: Re: Using grep with unsaved buffers.
Date: Thu, 10 May 2007 16:07:55 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

mopi <52hands@gmail.com> writes:

> I frequently use buffers that doesn't have a file assiociated to it.
>
> Is it possible to make grep work on those buffers? Perhaps through
> stdin? Other alternatives?

C-x h  C-u M-| grep -e 'regexp' RET

Or

C-x h      M-| grep -e 'regexp' RET

if you want the result in a new buffer.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

NOTE: The most fundamental particles in this product are held
together by a "gluing" force about which little is currently known
and whose adhesive power can therefore not be permanently
guaranteed.


reply via email to

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