From owner-freebsd-bugs Thu Jul 23 03:10:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA20935 for freebsd-bugs-outgoing; Thu, 23 Jul 1998 03:10:01 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from dana.clari.net.au (dana.clari.net.au [203.27.85.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA20870 for ; Thu, 23 Jul 1998 03:09:47 -0700 (PDT) (envelope-from peter@clari.net.au) Received: from localhost (peter@localhost) by dana.clari.net.au (8.8.7/8.8.7) with SMTP id UAA21183; Thu, 23 Jul 1998 20:08:32 +1000 (EST) (envelope-from peter@clari.net.au) X-Authentication-Warning: dana.clari.net.au: peter owned process doing -bs Date: Thu, 23 Jul 1998 20:08:32 +1000 (EST) From: Peter Hawkins To: Dag-Erling Coidan Smørgrav cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7368: added options to /usr/bin/time In-Reply-To: <199807230820.BAA10102@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This patch would render inoperative a number of legacy scripts and be a substantial departure from other unix implementations. The only reason I can see someone proposing this is if they needed to send the output from time(1) to stdout (eg for a pipe) and were not aware that a simple redirection of stderr to stdout ( 2>&1 for sh(1) ) does exactly that. for example, /usr/bin/time {my command> 2>&1 | {my other command} and /usr/bin/time {my command> > {myfile} 2>&1 work just fine. Peter Hilink Internet Peter Hawkins 381 Swan St Richmond, Vic, Australia Ph: +61-3-9421 2006 Fax: +61-3-9421 2007 http://www.hilink.com.au Peter@hilink.com.au FreeBSD Project: thepish@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message