From: ginak <gina02122000@yahoo.com>
Subject: Re: Piped insert-file?
Date: Thu, 14 Nov 2002 18:10:47 +0000 (UTC) [thread overview]
Message-ID: <ar0ov7$s2l$1@reader1.panix.com> (raw)
In-Reply-To: hxQA9.12$Xq1.1204@paloalto-snr1.gtei.net
In <hxQA9.12$Xq1.1204@paloalto-snr1.gtei.net> Barry Margolin <barmar@genuity.net> writes:
>In article <ar0k64$q5o$1@reader1.panix.com>,
>ginak <gina02122000@yahoo.com> 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
next prev parent reply other threads:[~2002-11-14 18:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-14 16:49 Piped insert-file? ginak
2002-11-14 16:52 ` Barry Margolin
2002-11-14 18:10 ` ginak [this message]
2002-11-14 19:10 ` Stefan Monnier <foo@acm.com>
2002-11-14 19:13 ` Barry Margolin
2002-11-14 17:26 ` Friedrich Dominicus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ar0ov7$s2l$1@reader1.panix.com' \
--to=gina02122000@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.