Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

Converting csh to ksh

Super Advisor

Converting csh to ksh

Hi Guys,

How can I convert this csh scrip to ksh equivalent?
"
alias CMD1 /usr/bin/cmd1

set planpath = "/users/home1/plan_path"
set tkind = 0x103
alias START 'onintr -; CMD1 path $planpath \!*; CMD1 start \!* $tkind;onintr TEXIT; CMD1 init'

TEXIT:


"

My doubt will be mainly on how to I pull off the onintr in ksh?

Best regards
Henry
1 REPLY
Highlighted
Honored Contributor Honored Contributor

Re: Converting csh to ksh

Hi Henry. You check my attached file for detail.
HTH
tienna
HP is simple