From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jack O'Connor" Newsgroups: gmane.emacs.help Subject: stdin/stdout Date: Tue, 22 Jul 2008 05:49:01 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1216756451 26311 80.91.229.12 (22 Jul 2008 19:54:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Jul 2008 19:54:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 22 21:55:00 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KLNwp-0001Le-3m for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Jul 2008 21:54:59 +0200 Original-Received: from localhost ([127.0.0.1]:58508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLNvu-00035v-4g for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Jul 2008 15:54:02 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l64g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 132.64.72.233 Original-X-Trace: posting.google.com 1216730941 3168 127.0.0.1 (22 Jul 2008 12:49:01 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 22 Jul 2008 12:49:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l64g2000hse.googlegroups.com; posting-host=132.64.72.233; posting-account=h6INogoAAACxmXpAk1YLnm6UBgdai0qx User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.9.0.1) Gecko/2008072117 (Gentoo) Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:160449 X-Mailman-Approved-At: Tue, 22 Jul 2008 15:50:55 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55822 Archived-At: 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