Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: trouble with multiple pipes
- X-seq: zsh-users 2392
- From: dado <dado@xxxxxxx>
- To: dominik.vogt@xxxxxx
- Subject: Re: trouble with multiple pipes
- Date: Wed, 16 Jun 1999 13:18:18 -0700
- Cc: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- Organization: Pacific Data Images
- References: <19990609182901.D3376@xxxxxx>
- Sender: dado@xxxxxxx
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@xxxxxx
--
________________________________________________________________________
Dado Feigenblatt dado@xxxxxxx direct (650) 846-8386
Technical Lighter front desk (650) 846-8100
PDI - Palo Alto, CA fax (650) 846-8101
Messages sorted by:
Reverse Date,
Date,
Thread,
Author