Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

Converting csh to ksh

Henry Chua
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
Nguyen Anh Tien
Honored Contributor

Re: Converting csh to ksh

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