From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17659 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: Re: pipe filter output to file? Date: 09 Oct 1998 10:52:23 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156320 2089 80.91.224.250 (20 Oct 2002 23:25:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:25:20 +0000 (UTC) Cc: ding@gnus.org 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 EAA24765 for ; Fri, 9 Oct 1998 04:54:25 -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 DAF11108; Fri, 9 Oct 1998 03:23:59 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 09 Oct 1998 03:52:56 -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 DAA22203 for ; Fri, 9 Oct 1998 03:52:48 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id EAA24748 for ; Fri, 9 Oct 1998 04:52:27 -0400 (EDT) Original-Received: from ramses.informatik.uni-dortmund.de (ramses.cs.uni-dortmund.de [129.217.20.180]) by waldorf.cs.uni-dortmund.de with SMTP id KAA04563; Fri, 9 Oct 1998 10:52:24 +0200 (MES) Original-Received: (grossjoh@localhost) by ramses.informatik.uni-dortmund.de id KAA00045; Fri, 9 Oct 1998 10:52:23 +0200 Original-To: Bud Rogers In-Reply-To: Bud Rogers's message of "08 Oct 1998 13:07:29 -0500" Original-Lines: 15 User-Agent: Gnus/5.070033 (Pterodactyl Gnus v0.33) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:17659 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:17659 >>>>> Bud Rogers writes: > I would like to grep a specific line out of a mail or news message > and append it to a file. The messages are essentially boilerplate > containing a single action line that I need to collect and feed to > a shell script. | grep foo >> /tmp/bar RET The above, when typed from the summary buffer, should append all lines matching foo to the file /tmp/bar. kai -- OOP: object oriented programming; OOPS: object oriented mistakes