www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.4 required=5.0 tests=BAYES_00,J_CHICKENPOX_33,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <49F98B26.2070007@cornell.edu> |
References: | <49F98B26 DOT 2070007 AT cornell DOT edu> |
Date: | Thu, 30 Apr 2009 13:37:52 +0200 |
Message-ID: | <7758a5c30904300437k597bbc6enc426e3bd6e1bc1ea@mail.gmail.com> |
Subject: | Re: Bash problem |
From: | david sastre <d DOT sastre DOT medina AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
2009/4/30 Ken Brown <kbrown AT cornell DOT edu>: > A build script I was running failed because it had a command of the form > 'eval foo=3Dbar time <command>'. =C2=A0Here's a simple test case: > > $ eval foo=3Dbar time true > -bash: time: command not found > > It works fine without foo=3Dbar: > > $ eval time true > > real =C2=A0 =C2=A00m0.060s > user =C2=A0 =C2=A00m0.000s > sys =C2=A0 =C2=A0 0m0.000s > > I have access to a linux system in which the original command (with foo= =3Dbar) > works. =C2=A0That system has an older version of bash. =C2=A0Is this a bu= g in the > current bash? =C2=A0Or the cygwin build of bash? > > Ken > > > -- > Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-s= imple > Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html > Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html > FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http:= //cygwin.com/faq/ > > Hi there. I'm using $ uname -a CYGWIN_NT-5.1 sith 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin and $ cygcheck -c time bash Cygwin Package Information Package Version Status bash 3.2.48-21 OK time 1.7-2 OK testing your example gives me $ eval foo=3Dbar time true 0.03user 0.03system 0:00.06elapsed 91%CPU (0avgtext+0avgdata 205568maxresid= ent)k 0inputs+0outputs (811major+0minor)pagefaults 0swaps Maybe your using -- 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 |