On Mon, 2005-09-19 at 23:10 -0400, Michael Crute wrote: > On 9/19/05, Justin Hart <[EMAIL PROTECTED]> wrote: > The version of time included doesn't seem to include the -o > switch, > allowing the output to be put in a file. > > Is there a way to get this? > > > > > Not sure how `time -o` worked but perhaps `time > filename` >
It doesn't. Time duplicates its stdout file descriptor so as to not mix the output from the program being timed with the time output. So >file would actually store the output of the program being timed in file, not the little timing chart. There are ways to get around it, but they are weird. I dont remember how was it though. -- David Eduardo Gómez Noguera <[EMAIL PROTECTED]> -- gentoo-user@gentoo.org mailing list