Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "Alex Vinokur" Subject: Where does the 'time' (shell keyword) write? Date: Thu, 16 Oct 2003 14:01:20 +0200 Lines: 44 Message-ID: X-Complaints-To: usenet AT sea DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 $ 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/