bug-bash
[Top][All Lists]
Advanced

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

Re: time doesn't behave


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

BTW I forgot to mention the Bash version is 2.02.1 (Suse Linux 6.1(i386).

Eelco


"EHV-00" <address@hidden> wrote in message
news:address@hidden
> 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]