Hi,

as i found out while wandering through mozilla's build system revamp for
thunderbird - it turns out our pdksh has a "difference" with zsh, bash &
bash in the following case :

[05:38] dawn:/src/comm-central/ $set foo bar baz ; for out in ; do echo $out ; 
done
foo
bar
baz
[05:40] dawn:/src/comm-central/ $zsh 
dawn% set foo bar baz ; for out in ; do echo $out ; done
dawn% 
[05:41] dawn:/src/comm-central/ $bash
bash-4.2$ set foo bar baz ; for out in ; do echo $out ; done
bash-4.2$ exit
[05:43] dawn:/src/comm-central/ $dash
$set foo bar baz ; for out in ; do echo $out ; done
$^D[05:44] dawn:/src/comm-central/ $zoid
--[ This is the Zoidberg shell ]--[ Version 0.981 ]--
### This is a development version, consider it unstable
landry@dawn 05:43 ~$ set foo bar baz ; for out in ; do echo $out ; done
Missing $ on loop variable at line 3

syntax error at (eval 55) line 4, near "do echo $out
"

zoid: done: command not found

(yeah, why not zoidberg ?)

As you can see, ksh outputs set values. boom in the thunderbird trunk
configure script, cf https://bugzilla.mozilla.org/show_bug.cgi?id=878661
for the complete analysis.

So, a real bug to fix, or just a "difference" ?

Landry

Reply via email to