Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 1998 20:51:08 +0000
From:      Niall Smart <rotel@indigo.ie>
To:        "Steven G. Kargl" <kargl@apl.washington.edu>, freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/7368: Added options to /usr/bin/time
Message-ID:  <199807231951.UAA00989@indigo.ie>
In-Reply-To: <199807231650.JAA01687@freefall.freebsd.org>; "Steven G. Kargl" <kargl@apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 23,  9:50am, "Steven G. Kargl" wrote:
} Subject: Re: bin/7368: Added options to /usr/bin/time
> The following reply was made to PR bin/7368; it has been noted by GNATS.
>  
>  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
>  options.

time sh -c "ls >x 2>&1" >y 2>&1

Niall

-- 
Niall Smart.        PGP: finger njs3@motmot.doc.ic.ac.uk
FreeBSD: Turning PC's into Workstations: www.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?199807231951.UAA00989>