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 07:26:50AM -0600, Eric Blake wrote:
> 
> zsh rejected the continue statement (no containing loop within the
> current scoping of the dot script), and as a result also aborted the
> overall dot script - but in doing so, it properly emitted an error message.

dash does not warn in this case because it never prints a warning
on continue anywhere.

This behaviour (not warning) is consistent with that of ksh.

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