This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
RE: bash -c error
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'thread TITTTL'd'" <cygwin-talk at cygwin dot com>
- Date: Tue, 10 Jan 2006 14:02:53 -0000
- Subject: RE: bash -c error
- Reply-to: The Cygwin-Talk Malingering List <cygwin-talk at cygwin dot com>
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....