Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need to redirect to different interpreter

Status
Not open for further replies.

dans45

Technical User
Feb 13, 2003
43
US
Hi, I am trying to execute some existing ksh scripts in an environment where I have pdksh instead. Since the first line of each script is either /bin/ksh or /usr/bin/ksh instead of /bin/pdksh they all fail. Is there a way to set a link or substitution in the environment to allow these to run without having to edit each script?
Thanks for the help.
 
Personally I find pdksh code is not very portable, and I notice it is gradually being replaced by more compliant Korn shells in most distributions, so I'd encourage you to fix the scripts some time to make them work under "normal" ksh.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top