Re: [BUG] dash doesn't report syntax error when it should on stray "fi"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jonathan, thanks for the quick reply.

On 04/23/2012 07:03 PM, Jonathan Nieder wrote:
> Hi Stefano,
> 
> Stefano Lattarini wrote:
> 
>> How to reproduce:
>>
>>   $ dash -c ':; fi'; echo stat = $?
>>   stat = 0
> 
> Since this doesn't affect conforming scripts,
>
True, it it makes "dash -n" less useful (not that I deeply care, just pointing
it out).

> I suspect it falls squarely within the "patches welcome as long as they
> don't make dash bigger" category.
> 
> Thanks for finding it.
> 
> Sincerely,
> Jonathan

Thanks,
  Stefano
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux