2013/4/9 下午10:49 於 "John Chludzinski" <[email protected]> 寫道:
>
> I have a script with:
>
> X=(1 2 3)
> X+=(4 5 6)
> print "${X[*]}"
>
> sh script.ksh results in: Unable to initialize device PRN.

it seems that you don't have *ksh as /bin/sh. so you are running script
with ash or bash, which has no 'print' builtin.

>
> What's the deal?
>
> BTW, I'm using the latest Cygwin on Windows 7.
>
> ---John

Reply via email to