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

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

Re: How to use unix command such as wc on a buffer


From: Jambunathan K
Subject: Re: How to use unix command such as wc on a buffer
Date: Sun, 03 Mar 2013 23:25:31 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)



AngusC <anguscomber@gmail.com> writes:

> I can use a command such as wc on a file but in emacs I might have a buffer
> which is not saved to a file.  so how do I apply wc to the buffer.
>
> I tried eg m-%
>
> wc -w
>
> But it just returns zero.
>
> How do I apply it to the buffer?

M-x apropos-command RET count

C-x h M-| wc -w

>
>
>
> --
> View this message in context: 
> http://emacs.1067599.n5.nabble.com/How-to-use-unix-command-such-as-wc-on-a-buffer-tp279787.html
> Sent from the Emacs - Help mailing list archive at Nabble.com.
>
>

-- 



reply via email to

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