From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 04:18:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B94D41065694 for ; Sun, 9 Jan 2011 04:18:19 +0000 (UTC) (envelope-from prvs=0983a871a0=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id 478C88FC1B for ; Sun, 9 Jan 2011 04:18:18 +0000 (UTC) Received: (qmail 34019 invoked from network); 9 Jan 2011 03:51:37 -0000 Received: from mail1.iecc.com (64.57.183.56) by mail1.iecc.com with QMQP; 9 Jan 2011 03:51:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:vbr-info; s=af00.4d2930c7.k1101; i=johnl@user.iecc.com; bh=9JuiNLeUxy/yhF3FRFu26JoCOqBaN2jxVzApv49ieVw=; b=dkBrcZqklHCYE5L1PDdiYTFRzJxIVX3fPoph46oGiHLL7O1nzcwpmprSltlwSZAu5V1WfUC+B2lASwSofNRYihXbl4wJkbMR+Zil09A3umwbipFBOgquLDe/cD4jDEVtHZR8baHRI9iN9OL2M2LbYGG3gqlea4YQUoRNgkmstxE= VBR-Info: md=iecc.com; mc=all; mv=dwl.spamhaus.org Date: 9 Jan 2011 03:51:35 -0000 Message-ID: <20110109035135.44799.qmail@joyce.lan> From: John Levine To: freebsd-questions@freebsd.org In-Reply-To: Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit Cc: modulok@gmail.com 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:18:19 -0000 >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. $ man tee R's, John