This is the mail archive of the cygwin-talk mailing list for the cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: bash -c error


Krzysztof Duleba wrote:

[... starting to have nothing to do with cygwin, so TITTTL'd ...]

> Dave Korn wrote:
>>> 
>>>> Just try running 'time' from the bash prompt.  You get a SEGV from
>>>> strlen AFAICT.
>>> 
>>> No, I don't. But I do get a strange behaviour with
>>> 
>>> time for ((i=0;i<=100++)) do :; done
>> 
>>  It works fine if you fix the bug :)
> 
> I know, which is even more amusing.
> 
> Krzysztof Duleba


  Heh, it's obviously a helpful syntax-checking feature, bash draws your
attention to the bug by crashing!  Say, you didn't set "shopt
crash-on-syntax-error", did you?



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]