Re: Converting csh to ksh (61 Views)
Reply
Super Advisor
Henry Chua
Posts: 444
Registered: ‎09-05-2004
Message 1 of 2 (61 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
Please use plain text.
Honored Contributor
Nguyen Anh Tien
Posts: 924
Registered: ‎05-20-2004
Message 2 of 2 (61 Views)

Re: Converting csh to ksh

Hi Henry. You check my attached file for detail.
HTH
tienna
HP is simple
Please use plain text.
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