From: "Jack O'Connor" <oconnor663@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: stdin/stdout
Date: Tue, 22 Jul 2008 05:49:01 -0700 (PDT) [thread overview]
Message-ID: <dbf5c8dd-31a8-4a1a-a495-c2651af5f2e7@l64g2000hse.googlegroups.com> (raw)
Is there any way in Emacs to read standard input into a buffer or to
send the contents of a buffer to the standard output (particularly
both with editing in between)? I'm interested in being able to do
things like the following:
decrypt file.crypt | emacs | encrypt > file2.crypt
---or perhaps---
curl some-website-with-code.com | emacs | python
---or even just---
emacs < file.txt > edited_file.txt
Thanks very much for your help.
- Jack O'Connor
next reply other threads:[~2008-07-22 12:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 12:49 Jack O'Connor [this message]
2008-07-23 11:03 ` stdin/stdout Tim X
2008-07-25 10:53 ` stdin/stdout Dan Davison
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=dbf5c8dd-31a8-4a1a-a495-c2651af5f2e7@l64g2000hse.googlegroups.com \
--to=oconnor663@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.