Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 1998 20:08:32 +1000 (EST)
From:      Peter Hawkins <peter@clari.net.au>
To:        Dag-Erling Coidan Smørgrav <smoergrd@oslo.geco-prakla.slb.com>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/7368: added options to /usr/bin/time
Message-ID:  <Pine.BSF.3.96.980723195742.21124A-100000@dana.clari.net.au>
In-Reply-To: <199807230820.BAA10102@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980723195742.21124A-100000>