Re: 'continue' does not work in files sourced with dotcmd

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

 



On Thu, Jul 07, 2011 at 09:18:12AM -0600, Eric Blake wrote:
>
> Meanwhile, I still have to wonder about dash behavior - if dash is _not_
> treating continue as a syntax error, then why is it aborting the dot
> script?  Compare:

This is a consequence of the way continue/break/return is implemented
in dash.

As this construct cannot be used portably anyway, I'm not inclined to
make any changes unless you can do it without increasing the code
size.

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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