bug-bash
[Top][All Lists]
Advanced

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

time doesn't behave


From: EHV-00
Subject: time doesn't behave
Date: Fri, 6 Apr 2001 15:19:04 +0200

Dear all,

I am trying to 'time' a process and grep the output.
For some reason the 'time' is not behaving correctly:

===>
address@hidden:~> time namp localhost 2>&1 | grep real

real 0m0.455s
user 0m0.100s
sys 0m0.190s
===<
While this should be:

===>
address@hidden:~> time namp localhost 2>&1 | grep real

real 0m0.455s
===<

The problem seems to be that the output of time bypasses the grep, venthough
I've redirected stderr to stdout.

Any idea what's wrong?

Thanx,

Eelco Langelaan
Philips Corporate IT, The Netherlands





reply via email to

[Prev in Thread] Current Thread [Next in Thread]