Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jan 2011 23:07:22 -0500
From:      Jon Radel <jon@radel.com>
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:  <4D29347A.3030808@radel.com>
In-Reply-To: <AANLkTinhOLxthkGrZ309ZOnPpKux6FGyTbUtG5wOMqot@mail.gmail.com>
References:  <AANLkTinhOLxthkGrZ309ZOnPpKux6FGyTbUtG5wOMqot@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

This is a cryptographically signed message in MIME format.

--------------ms070901060207080200060806
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

On 1/8/11 10:30 PM, Modulok wrote:
> List,
>
> 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.
>
Think T, not Y, and then type

man tee

which I suspect does exactly what you want.

--=20

--Jon Radel
jon@radel.com



--------------ms070901060207080200060806--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D29347A.3030808>