zsh-users
 help / color / mirror / code / Atom feed
From: dado <dado@pdi.com>
To: dominik.vogt@gmx.de
Cc: zsh-users@sunsite.auc.dk
Subject: Re: trouble with multiple pipes
Date: Wed, 16 Jun 1999 13:18:18 -0700	[thread overview]
Message-ID: <37680689.801EFB1E@pdi.com> (raw)
In-Reply-To: <19990609182901.D3376@hp.com>

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




  parent reply	other threads:[~1999-06-16 20:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-10  0:29 Dominik Vogt
1999-06-09 16:41 ` Andrej Borsenkow
1999-06-10  1:08   ` Dominik Vogt
1999-06-16 20:18 ` dado [this message]
1999-06-16 22:22   ` Dominik Vogt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37680689.801EFB1E@pdi.com \
    --to=dado@pdi.com \
    --cc=dominik.vogt@gmx.de \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).