all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* stdin/stdout
@ 2008-07-22 12:49 Jack O'Connor
  2008-07-23 11:03 ` stdin/stdout Tim X
  0 siblings, 1 reply; 3+ messages in thread
From: Jack O'Connor @ 2008-07-22 12:49 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-25 10:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-22 12:49 stdin/stdout Jack O'Connor
2008-07-23 11:03 ` stdin/stdout Tim X
2008-07-25 10:53   ` stdin/stdout Dan Davison

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.