Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Debian zsh bug triage



On Mon, Dec 29, 2008 at 09:46:07PM +0100, Richard Hartmann wrote:
[...]
> 2) Unexpected behaviour when stopping a job in a command chain[3]
> 
> Consider this:
> 
> echo one && sleep 10 && echo two
> 
> When stopping `sleep 10`, `echo two` will never be executed, no matter in
> what way you revive `sleep 10`. That is OK as backgrounding `sleep 10`
> will set $? to 20. Yet, with
> 
> echo one ; sleep 10 ; echo two
> 
> the same thing happens. As Bart pointed out[4]:
[...]

That'd be a feature. All the other shells except bash behave
like that. You'll find plenty of places where people complain
about bash behavior.

-- 
Stéphane



Messages sorted by: Reverse Date, Date, Thread, Author