From owner-freebsd-bugs Fri Jul 24 03:48:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA11645 for freebsd-bugs-outgoing; Fri, 24 Jul 1998 03:48:20 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA11639 for ; Fri, 24 Jul 1998 03:48:18 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id MAA09427; Fri, 24 Jul 1998 12:47:18 +0200 (MET DST) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Fri, 24 Jul 1998 12:47:18 +0200 (MET DST) Mime-Version: 1.0 To: "Steven G. Kargl" Cc: peter@clari.net.au (Peter Hawkins), freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7368: Added options to /usr/bin/time References: <199807240657.XAA06551@troutmask.apl.washington.edu> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 24 Jul 1998 12:47:17 +0200 In-Reply-To: "Steven G. Kargl"'s message of "Thu, 23 Jul 1998 23:57:06 -0700 (PDT)" Message-ID: Lines: 23 X-Mailer: Gnus v5.5/Emacs 19.34 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id DAA11640 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Steven G. Kargl" writes: > According to Peter Hawkins: > > > How does one redirect via a shell the output of /usr/bin/time > > > without redirecting the output from the command that is being > > > timed. The answer is you can't, and is the motivation for the new > > > > Want a bet? > > > > time 2>/dev/tty ls > t > > > Yeah. sure. > > troutmask:kargl[203] time 2>/dev/tty ls > t > Ambiguous output redirect. Use a Real Shell (tm), i.e. the Bourne Shell or one of its derivatives. Seems to me you could benefit from reading a few man pages. DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message