from localhost (localhost [127.0.0.1])
	by phobos.labs.netnoteinc.com (Postfix) with ESMTP id E7ED3440C9
	for <jm@localhost>; Mon, 22 Jul 2002 14:50:05 -0400 (EDT)
from dogma.slashnull.org [212.17.35.15]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Mon, 22 Jul 2002 19:50:05 +0100 (IST)
from webnote.net (mail.webnote.net [193.120.211.219]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g6MHQT403450 for
    <jm-ilug@jmason.org>; Mon, 22 Jul 2002 18:26:29 +0100
from lugh.tuatha.org (root@lugh.tuatha.org [194.125.145.45]) by
    webnote.net (8.9.3/8.9.3) with ESMTP id MAA23309 for <jm-ilug@jmason.org>;
    Sat, 20 Jul 2002 12:23:51 +0100
from lugh (root@localhost [127.0.0.1]) by lugh.tuatha.org
    (8.9.3/8.9.3) with ESMTP id MAA31355; Sat, 20 Jul 2002 12:19:51 +0100
from mail1.mail.iol.ie (mail1.mail.iol.ie [194.125.2.192]) by
    lugh.tuatha.org (8.9.3/8.9.3) with ESMTP id MAA31326 for <ilug@linux.ie>;
    Sat, 20 Jul 2002 12:19:45 +0100
from [194.165.167.234] (helo=excalibur.research.wombat.ie) by
    mail1.mail.iol.ie with esmtp (Exim 3.35 #1) id 17VsA6-00081L-00 for
    ilug@linux.ie; Sat, 20 Jul 2002 12:12:34 +0100
(from kenn@localhost) by excalibur.research.wombat.ie
    (8.11.6/8.11.6) id g6KBIv327643 for ilug@linux.ie; Sat, 20 Jul 2002
    12:18:57 +0100
From ilug-admin@linux.ie  Mon Jul 22 19:50:07 2002

On Sat, Jul 20, 2002 at 10:47:36AM +0100, Stephen Shirley wrote:
> 	It's very easy to get one program to act on the output of a second
> program: cmd1 | cmd2. But, what if you want cmd1 to act on the output of
> cmd2 as well? Hmm. Eventually, I came up with this solution:
> mine, and i is happy person once again. In case you were wondering, the
> aim of all of this was to write a shell script that could check for new
Doesn't answer your question, but perhaps a combination of expect and
(netcat or telnet) might have made for an easier solution?

from localhost (localhost [127.0.0.1])
	by phobos.labs.netnoteinc.com (Postfix) with ESMTP id C4864440C9
	for <jm@localhost>; Mon, 22 Jul 2002 14:50:13 -0400 (EDT)
from dogma.slashnull.org [212.17.35.15]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Mon, 22 Jul 2002 19:50:13 +0100 (IST)
from webnote.net (mail.webnote.net [193.120.211.219]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g6MHQY403544 for
    <jm-ilug@jmason.org>; Mon, 22 Jul 2002 18:26:35 +0100
from lugh.tuatha.org (root@lugh.tuatha.org [194.125.145.45]) by
    webnote.net (8.9.3/8.9.3) with ESMTP id JAA22824 for <jm-ilug@jmason.org>;
    Sat, 20 Jul 2002 09:47:44 +0100
from lugh (root@localhost [127.0.0.1]) by lugh.tuatha.org
    (8.9.3/8.9.3) with ESMTP id JAA25916; Sat, 20 Jul 2002 09:46:58 +0100
from mail.magicgoeshere.com (nw152-60.indigo.ie [194.125.152.60]
    (may be forged)) by lugh.tuatha.org (8.9.3/8.9.3) with ESMTP id JAA25845
    for <ilug@linux.ie>; Sat, 20 Jul 2002 09:46:41 +0100
from bagend.magicgoeshere.com (ts15-163.dublin.indigo.ie
    [194.125.176.163]) by mail.magicgoeshere.com (Postfix) with ESMTP id
    80E8FF8FD for <ilug@linux.ie>; Sat, 20 Jul 2002 09:31:33 +0100 (IST)
by bagend.magicgoeshere.com (Postfix, from userid 501) id
    14BB93C1AE; Fri, 19 Jul 2002 23:47:40 +0100 (IST)
From ilug-admin@linux.ie  Mon Jul 22 19:50:14 2002