Re: Converting csh to ksh (109 Views)
Reply
Super Advisor
Henry Chua
Posts: 444
Registered: ‎09-05-2004
Message 1 of 2 (109 Views)

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
Honored Contributor
Nguyen Anh Tien
Posts: 923
Registered: ‎05-20-2004
Message 2 of 2 (109 Views)

Re: Converting csh to ksh

Hi Henry. You check my attached file for detail.
HTH
tienna
HP is simple
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.