From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brendan Halpin Newsgroups: gmane.emacs.help Subject: Re: Sending marked text to external program? Date: Fri, 14 Mar 2008 16:58:50 +0000 Message-ID: <87ve3pmed1.fsf@wivenhoe.staff8.ul.ie> References: Reply-To: brendan.halpin@ul.ie NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205516455 29178 80.91.229.12 (14 Mar 2008 17:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 17:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 14 18:41:22 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JaDu8-0007cq-Rc for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Mar 2008 18:41:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaDtZ-00057Q-LA for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Mar 2008 13:40:41 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-X-Trace: individual.net FS9stbpgOJ7epdQXV7pIbQzCEmi0kLGm1DdMozj+V4nVXcZRnK Cancel-Lock: sha1:AVQMayXaCbascIx7bKz4FmS/dhw= sha1:BhJ7HpVIEwFw0E3dumcU+86azGE= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:157046 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52416 Archived-At: Try M-| , which is shell-command-on-region With a prefix argument it replaces the region with the result: mark a section of text, and do C-u M-| wc RET and see what happens. Brendan -- Brendan Halpin, Department of Sociology, University of Limerick, Ireland Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F2-025 x 3147 mailto:brendan.halpin@ul.ie http://www.ul.ie/sociology/brendan.halpin.html