title: script not working on ksh while working on bash and sh
body: <pre><code>ksh xyz.sh gives following error.
  abc is symlink to xyz.sh
  /sites/utils/local/bin/abc[452]: local: not found [No such file or directory]
  /sites/utils/local/bin/abc[453]: local: not found [No such file or directory]
  /sites/utils/local/bin/abc[454]: local: not found [No such file or directory] 
  </code></pre>
  
  <p>bash xyz.sh     -working fine.
     sh xyz.sh       -working fine.</p>
  
  <p>is there anyway where i can specify to run it as bash or sh from the script itself as this script runs as part of automation.
  FYI: Default shell here is ksh :(</p>
  
  <p>Any answer will be highly appricaited.
  FYI:  I checked the script for carriage return text /DOS text charater and ran
  sed -i 's/\r//' xyz.sh multiple times.</p>