Description of problem: In ksh, the following is supported: A=(a b c) for x in ${A[@]};do echo $x;done but in pdksh, the '(" results in the error: ksh: syntax error: `(' unexpected Version-Release number of selected component (if applicable): pdksh-5.2.14-30 How reproducible: 100% Steps to Reproduce: 1.ksh 2.A=(a b c) 3. Actual results: ksh: syntax error: `(' unexpected Expected results: set array A with no syntax error Additional info:
This is one of the incompatibilities between pdksh and your (AT&T's) ksh which will be fixed by the upstream pdksh maintainers in the next release. Until then I'd suggest using the original AT&T ksh, I can provide you with a SRPM which just needs to be recompiled with rpm --rebuild.
Thanks for the offer, but no need. I just wanted to be sure that the bug was on record.