delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Authentication-Warning: | localhost.localdomain: ronald set sender to blytkerchan AT users DOT sourceforge DOT net using -f |
Date: | Thu, 16 Oct 2003 14:57:10 +0200 |
From: | Ronald Landheer-Cieslak <blytkerchan AT users DOT sourceforge DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Where does the 'time' (shell keyword) write? |
Message-ID: | <20031016125710.GJ3117@linux_rln.harvest> |
References: | <bmm1bg$cv0$1 AT sea DOT gmane DOT org> |
Mime-Version: | 1.0 |
In-Reply-To: | <bmm1bg$cv0$1@sea.gmane.org> |
User-Agent: | Mutt/1.4i |
X-Disclaimer: | I had nothing to do with it - I swear! |
X-loop: | linux_rln.harvest |
$ bash -c 'time ls > ../ls.out' 2> ../time.out HTH rlc On Thu, Oct 16, 2003 at 02:01:20PM +0200, Alex Vinokur wrote: > $ type time > time is a shell keyword > > > $ time ls > dummy1 dummy2 > > real 0m0.040s > user 0m0.020s > sys 0m0.040s > > > $ time ls > zzz > > real 0m0.040s > user 0m0.020s > sys 0m0.040s > // So, 'time' doesn't write to stdin (?!) > > > $ time ls 2> zzz2 > dummy1 dummy2 zzz > > real 0m0.040s > user 0m0.020s > sys 0m0.030s > // So, 'time' doesn't write to stderr (?!) > > > Question-1. Where does the 'time' (shell keyword) write? > Question-2. How to redirect output of the 'time' (shell keyword)? > > > -- > ===================================== > Alex Vinokur > mailto:alexvn AT connect DOT to > http://mathforum.org/library/view/10978.html > news://news.gmane.org/gmane.comp.lang.c++.perfometer > ===================================== > > > > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ -- You like to form new friendships and make new acquaintances. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |