From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 05:07:32 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 795E71065679 for ; Sun, 9 Jan 2011 05:07:32 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id 05E178FC14 for ; Sun, 9 Jan 2011 05:07:31 +0000 (UTC) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 10006511; Sat, 08 Jan 2011 23:07:31 -0500 Received: from [192.168.43.221] (account jon@radel.com HELO braeburn.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 10006514; Sat, 08 Jan 2011 23:07:22 -0500 Message-ID: <4D29347A.3030808@radel.com> Date: Sat, 08 Jan 2011 23:07:22 -0500 From: Jon Radel User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Modulok References: In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms070901060207080200060806" X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "questions@freebsd.org" Subject: Re: Is there a 'Y' (i.e. branch) version of a command pipe? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2011 05:07:32 -0000 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--