From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Piped insert-file? Date: Thu, 14 Nov 2002 16:52:29 GMT Organization: Genuity, Woburn, MA Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1037299596 12869 80.91.224.249 (14 Nov 2002 18:46:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 14 Nov 2002 18:46:36 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18CP0Y-0003Ka-00 for ; Thu, 14 Nov 2002 19:46:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18CP1v-0002FL-00; Thu, 14 Nov 2002 13:47:55 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: never X-Newsreader: trn 4.0-test72 (19 April 1999) Originator: barmar@genuity.net (Barry Margolin) Original-Lines: 15 Original-X-Trace: /w/U299rpxOt870oiWgbgIljEKlgbPdg3MkCji9R0BV3yUJC5n4p+5+TecZfPZ0eil8O3J4V6sYg!adNihXNwdPUCvB1zbNYsBHfwepItGhW3J8Ol4Vimqph4cq4v3x8dv/u9iHt24cZwdK0QlLxhFY88!D1dHNWvRSz0ysA== Original-X-Complaints-To: abuse@gte.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Original-NNTP-Posting-Date: Thu, 14 Nov 2002 16:52:29 GMT Original-Distribution: world Original-Xref: shelby.stanford.edu gnu.emacs.help:107047 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3591 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3591 In article , ginak wrote: >Is there a way (without creating a temporary file) to insert into a >buffer the results of running a file's contents through a Unix pipe? C-u M-! and C-u M-| will execute commands and insert the output in the current buffer. The second command pipes the current region to the command and replaces it with the output. -- Barry Margolin, barmar@genuity.net Genuity, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.