From owner-freebsd-questions@FreeBSD.ORG Sun Nov 13 06:24:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E63F16A41F for ; Sun, 13 Nov 2005 06:24:33 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0423A43D45 for ; Sun, 13 Nov 2005 06:24:32 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so416344wxc for ; Sat, 12 Nov 2005 22:24:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Vl7V0EinHck3Re5N38ZbsKXdypAyvsc62YZFw82YRuJyztwH69vjTLcmvq8MVKjXqbXSaya75pRdTOgyyuAfsEffZRC2sNyJ4pUTWBNQddwXSPY6zSZvS/vKtoXw7Pfm9ym5R5/70uBV3RKjA/g9rIRJFBzTzLOKZJ3RJ6dshcw= Received: by 10.70.73.6 with SMTP id v6mr585645wxa; Sat, 12 Nov 2005 22:24:32 -0800 (PST) Received: by 10.70.104.18 with HTTP; Sat, 12 Nov 2005 22:24:32 -0800 (PST) Message-ID: <35c231bf0511122224i30f210afs6638e31d01da933d@mail.gmail.com> Date: Sat, 12 Nov 2005 22:24:32 -0800 From: David Kirchner Sender: dpkirchner@gmail.com To: Noah In-Reply-To: <20051113052919.M97310@enabled.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051113052919.M97310@enabled.com> Cc: freebsd-questions Subject: Re: copying standard input to standard output 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, 13 Nov 2005 06:24:33 -0000 On 11/12/05, Noah wrote: > Hi there, > > I am wanting to copy standard output to a file. > > I know that 'tee' will do this fine. > > blah | tee it > > but I am find that on some occasions processes will not output when pippi= ng to > tee. > > other than screen what are some applications that could capture standard > output and dump to a file? "script" will do exactly that. It'll capture stderr, too. It may be that the programs you're using are sending to stderr as Malcolm suggests. It may also be because some programs handle stdout to a terminal differently than stdout to a file or a pipe.