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

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

 



On Sat, Feb 26, 2011 at 06:23:54PM +0000, Taylan Ulrich B. wrote:
> Using latest dash from git.
> Transcript:
> 
> $ echo continue > foo
> $ for i in 1; do . ./foo; echo foobar; done
> foobar
> $

While this does look inconsistent, this behaviour is not confined
to dash.  pdksh also does the same thing.

So I'm not particularly keen on changing this.

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