From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vagn Johansen Newsgroups: gmane.emacs.help Subject: Re: Perldo in Emacs Date: Thu, 03 Mar 2011 19:32:19 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <86ei6o12do.fsf@hotmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1299177651 26472 80.91.229.12 (3 Mar 2011 18:40:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2011 18:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 03 19:40:48 2011 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.69) (envelope-from ) id 1PvDSA-0003qh-9K for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Mar 2011 19:40:46 +0100 Original-Received: from localhost ([127.0.0.1]:33021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvDS9-0007O7-TQ for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Mar 2011 13:40:45 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) Cancel-Lock: sha1:0dcRpgMXwxMUAdEcRNo7fOVgZDQ= Original-Lines: 21 Original-NNTP-Posting-Host: 89.239.205.150 Original-X-Trace: news.sunsite.dk DXC=8o[T1RmW3E4X23ZgHoIAC6T=cDK 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:79756 Archived-At: Yuri Khan writes: > 2011/3/3 Alberto Simões : > >> It is a matter of running the buffer with >> >>  perl -i -pe ' ... '    < buffer > newbuffer >> >> where ... is the perl code instroduced by the user in emacs >> (minibuffer, probably). > > shell-command-on-region will almost do what you want, you will just > need to pass it a newly created buffer for output. > Type C-u first C-u M-| .. -- Vagn Johansen