[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

redirections



Hi,

I have a program that I run that throws out various stats. to the term 
window. All of them are generated with the C printf() call. Also, I 
want to time the execution of the program with 'time'. Is it possible 
that I have the msgs from the program redirected to a particluar file, 
and the output from time to another? i.e 

$ time (./montecarlo > montecarlo.out) > time.out 

The above syntax is surely wrong, but I hope if makes clear my 
question. 

Thanks,
-Karthik.

-------------------------------------
"The question is rather: if we ever succeed in making a mind 'of nuts and
bolts', how will we know we have succeeded?
-- Fergal Toomey

"It will tell us."
-- Barry Kort






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]