Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jan 2011 22:38:22 -0500 (EST)
From:      Chris Hill <chris@monochrome.org>
To:        Modulok <modulok@gmail.com>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: Is there a 'Y' (i.e. branch) version of a command pipe?
Message-ID:  <alpine.BSF.2.00.1101082237500.57318@tripel.monochrome.org>
In-Reply-To: <AANLkTinhOLxthkGrZ309ZOnPpKux6FGyTbUtG5wOMqot@mail.gmail.com>
References:  <AANLkTinhOLxthkGrZ309ZOnPpKux6FGyTbUtG5wOMqot@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Jan 2011, Modulok wrote:

> Is there a command that lets me send standard input to two different
> places at the same time? (i.e. non-sequentially.) Think of it like a
> pipe character, but with a 'Y' branch instead. Basically, I want to
> record standard input to a log file, but also send it to another
> command for processing.

tee(1)?

[snip]

--
Chris Hill               chris@monochrome.org
**                     [ Busy Expunging <|> ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1101082237500.57318>