delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/06/04:27:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
content-class: urn:content-classes:message
Subject: RE: Timing problem
MIME-Version: 1.0
Date: Fri, 6 Jul 2001 18:16:57 +1000
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
Message-ID: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08F0E8@itdomain002.itdomain.net.au>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Timing problem
Thread-Index: AcEF8vtcGQqcjQLNQRWlr5eYotnXPgAAOAjA
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Morrison, John" <John DOT Morrison AT uk DOT experian DOT com>, <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id EAA12534

> -----Original Message-----
> From: Morrison, John [mailto:John DOT Morrison AT uk DOT experian DOT com]
> Sent: Friday, July 06, 2001 6:17 PM
> To: 'cygwin AT cygwin DOT com'
> Subject: Timing problem
> 
> 
> Hi,
> 
> First I'm going to apologies - I'm a user of cygwin, not a 
> hacker and I also
> come from a windoze not a *nix background.  I'm having a problem
> manipulating the output from time, I'd like to get just the 
> 'real' time and
> thought I could do something like:
> 
> $ time somecommand | egrep -e '^real'

I have a full cygwin install...
==
$ type -p time

==
time isn't a cygwin command. "date" is, and will give you the current
time, with a load of options for GMT etc.
 
> but all combinations of std:out redirections fail to send the time
> information into the grep instruction, they always get 
> written to console.

Thank MS for this - I believe you are running an MS time program.

Rob
 
> Please, is there anyway to do this?
> 
> Thanks,
> 
> J.
> 
> 
> ==============================================================
> =========
> Information in this email and any attachments are 
> confidential, and may
> not be copied or used by anyone other than the addressee, nor 
> disclosed
> to any third party without our permission.  There is no intention to
> create any legally binding contract or other commitment 
> through the use
> of this email.
> 
> Experian Limited (registration number 653331).  
> Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019