From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ginak Newsgroups: gmane.emacs.help Subject: Re: Piped insert-file? Date: Thu, 14 Nov 2002 18:10:47 +0000 (UTC) Organization: <*LOL*> Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1037304820 4540 80.91.224.249 (14 Nov 2002 20:13:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 14 Nov 2002 20:13:40 +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 18CQMs-0001An-00 for ; Thu, 14 Nov 2002 21:13:38 +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 18CP28-0002MA-00; Thu, 14 Nov 2002 13:48:08 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader1.panix.com 1037297447 28757 166.84.1.3 (14 Nov 2002 18:10:47 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Thu, 14 Nov 2002 18:10:47 +0000 (UTC) X-No-Confirm: yes User-Agent: nn/6.6.4 Original-Xref: shelby.stanford.edu gnu.emacs.help:107048 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:3599 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3599 In Barry Margolin writes: >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. Thanks. That's great to know. When I tried C-u M-! with "grep foo foo_file", I got the desired text inserted in the buffer, but preceded by the lines: stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device I don't know how to interpret these lines. g