Pierre Gaston wrote: >> I think he refers to the fact that, with ksh, you can do for instance >> >> $ exec {fd}<&0 >> $ echo $fd >> 10 >> $ exec {fd1}<&0 >> $ echo $fd1 >> 11 >> >> I didn't try on zsh, but with bash you get: >> >> $ exec {fd}<&0 >> -bash: exec: {fd}: not found >> > ah sorry I didn't know this syntax > > on which ksh version does this work?
I tried that on a RHEL 5 system with $ ksh --version version sh (AT&T Labs Research) 1993-12-28 r Actually, I just tried zsh, and the version installed on that system (which looks pretty old) does not support the exec {fd}<&0 either. $ zsh --version zsh 4.2.6 (i686-redhat-linux-gnu) -- D.