help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stdin/stdout


From: Jack O'Connor
Subject: stdin/stdout
Date: Tue, 22 Jul 2008 05:49:01 -0700 (PDT)
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]