Quote:
Originally Posted by cfajohnson
That looks as if it's being executed by a non-standard shell rather than by ksh. You can use the old-fashioned form of command substitution:
... but you should figure out why it is not using ksh.
How are you calling the script?
|
i was calling the shell using the sh before the script. for instance sh file.sh.
I tried the other way you suggested and worked fine. thanks.