From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17657 Path: main.gmane.org!not-for-mail From: Bud Rogers Newsgroups: gmane.emacs.gnus.general Subject: Re: pipe filter output to file? Date: 08 Oct 1998 23:13:46 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156319 2073 80.91.224.250 (20 Oct 2002 23:25:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:25:19 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id AAA19327 for ; Fri, 9 Oct 1998 00:15:39 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id WAF10222; Thu, 8 Oct 1998 22:45:11 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 08 Oct 1998 23:14:08 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id XAA18652 for ; Thu, 8 Oct 1998 23:14:00 -0500 (CDT) Original-Received: from twocups.sirinet.net (budr@twocups.sirinet.net [207.3.88.229]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id AAA19279 for ; Fri, 9 Oct 1998 00:13:48 -0400 (EDT) Original-Received: (from budr@localhost) by twocups.sirinet.net (8.8.8/8.8.7) id XAA20105; Thu, 8 Oct 1998 23:13:47 -0500 Original-To: ding@gnus.org In-Reply-To: Wes Hardaker's message of "08 Oct 1998 13:25:39 -0700" Original-Lines: 30 X-Mailer: Gnus v5.6.37/XEmacs 20.3 - "Vatican City" Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:17657 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:17657 Wes Hardaker writes: > >>>>> On 08 Oct 1998 13:07:29 -0500, Bud Rogers said: > > Bud> I've tried Washing->Unix pipe and Output->pipe through a filter, > Bud> but I can't seem to get either to do what I want. Has anybody > Bud> done this? Could I get a look at your code? > > Doesn't something like > M-| grep stuff >> file > > work? Hmm. I get either 'There is no region now' or "Shell command completed with no output' depending on where point is. If I use 'Output->pipe through a filter' to a one-liner containing my grep statement, I get the message body cleaned of everything except the line I'm after, but that's not what I need. What I need is to send that line out to a file. I'm getting a couple dozen of these emails a day and I need to collect those lines so I can feed them into a shell script about once a day. Aarrgh. I've learned just enough about [X]emacs and gnus and lisp to know the power is there if I can just figure it out... -- Bud Rogers http://www.sirinet.net/~budr/zamm.html formerly