|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Greetings:
I need to time a number of makes using "time" (or "gtime"), but would like to redirect the output of "time" to a file. The make output can still go to the screen. Does anyone know how to do this? I've tried: gtime -v make -f MakeTest20 1> 20.log and different variants. Thanks for any in advance! Tom |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Wed, 25 Jul 2007 06:25:10 -0700, T wrote:
> Greetings: > > I need to time a number of makes using "time" (or "gtime"), but would > like to redirect the output of "time" to a file. The make output can > still go to the screen. > Does anyone know how to do this? I've tried: > > gtime -v make -f MakeTest20 1> 20.log > > and different variants. > > Thanks for any in advance! > > Tom "time" is a builtin command to bash, which makes it slightly different to usual. ( time make -f MakeTest20 ) 2> 20.log works for me. |
|
![]() |
| Outils de la discussion | |
|
|