From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9047 invoked from network); 16 Jun 1999 20:24:11 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 16 Jun 1999 20:24:11 -0000 Received: (qmail 24394 invoked by alias); 16 Jun 1999 20:23:43 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2392 Received: (qmail 24387 invoked from network); 16 Jun 1999 20:23:43 -0000 Sender: dado@pdi.com Message-ID: <37680689.801EFB1E@pdi.com> Date: Wed, 16 Jun 1999 13:18:18 -0700 From: dado Organization: Pacific Data Images X-Mailer: Mozilla 4.5 [en] (X11; U; IRIX 6.5 IP32) X-Accept-Language: pt-BR MIME-Version: 1.0 To: dominik.vogt@gmx.de CC: zsh-users@sunsite.auc.dk Subject: Re: trouble with multiple pipes References: <19990609182901.D3376@hp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Dominik Vogt wrote: > (snip) have you tried egrep ? # tail -f foo | egrep -v "5|4" > And now I want to remove '4' from the output too: > > # tail -f foo | grep -v 5 | grep -v 4 > (no output generated, pressed ^C) > > But when I terminate 'tail' > # killall tail > 1 > 2 > 3 > zsh: terminated tail -f foo | > zsh: done grep -v 5 | grep -v 4 > > Why doesn't get the output of the first pipe get through to > the second one? Any ideas how to circumvent this problem? > Unfortunately I need to filter the output from a running > daemon in this way, but I'm out of ideas. > > The same behaviour occurs on HP-UX 10.20 (not that I think the > OS matters) or with ksh or bash. > > Please respond to me personally, I'm not on the list. > > Bye > > Dominik ^_^ > > -- > Dominik Vogt, Hewlett-Packard GmbH, Dept. BVS > Herrenberger Str.130, 71034 Boeblingen, Germany > phone: 07031/14-4596, fax: 07031/14-3883, dominik_vogt@hp.com -- ________________________________________________________________________ Dado Feigenblatt dado@pdi.com direct (650) 846-8386 Technical Lighter front desk (650) 846-8100 PDI - Palo Alto, CA fax (650) 846-8101