Skip site navigation (1)Skip section navigation (2)
Date:      24 Jul 1998 12:47:17 +0200
From:      dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= )
To:        "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
Cc:        peter@clari.net.au (Peter Hawkins), freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/7368: Added options to /usr/bin/time
Message-ID:  <xzpaf5zv83u.fsf@hrotti.ifi.uio.no>
In-Reply-To: "Steven G. Kargl"'s message of "Thu, 23 Jul 1998 23:57:06 -0700 (PDT)"
References:  <199807240657.XAA06551@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
"Steven G. Kargl" <kargl@troutmask.apl.washington.edu> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpaf5zv83u.fsf>