From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 04:17:24 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 40DAC106566B for ; Sun, 9 Jan 2011 04:17:24 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id DAD288FC18 for ; Sun, 9 Jan 2011 04:17:23 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id p093cMSD001381; Sat, 8 Jan 2011 22:38:22 -0500 (EST) (envelope-from chris@monochrome.org) Date: Sat, 8 Jan 2011 22:38:22 -0500 (EST) From: Chris Hill To: Modulok In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 04:17:24 -0000 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 <|> ]