bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file descriptors, redirection and other animals....


From: simonm
Subject: Re: file descriptors, redirection and other animals....
Date: Tue, 10 Mar 2009 01:54:47 -0700 (PDT)
User-agent: G2/1.0

On Mar 9, 7:10 pm, Stephane CHAZELAS <address@hidden>
wrote:
> 2009-03-9, 05:03(-07), simonm:
>
> Not sure what you're trying to achieve. Have you got some example?
>
> Note that comp.unix.shell would be a better place to ask kind of
> question.

OK.

> --
> Stéphane

Thanks for the response, Stephane. I'll answer your question here and
move future ones to comp.unix.shell.

I'm trying to split a pipe into two, without using temp files or
variables.

cat very_large_text_file | a | long | and | complex | chain | of |
pipes | tee <(command_one) <(command_two) 1>/dev/null

So, I want to apply command_one and command_two to the whole output of
the resulting text stream coming from "pipes".

Is there another way to do it, other than using tee, (very large) temp
files or (very large) variables?

Many Thanks

SM


reply via email to

[Prev in Thread] Current Thread [Next in Thread]