Valued Contributor
Re: convert script to ksh93 (version 93)

@ Dennis : Thank you for your correction, now it works.

 

@ Dennis , Steven : With your input's i have a final solution :

 

sed -e 's/`\([^`]*\)`/$(\1)/g' -e 's|\([?'\''"]\)`|\1)|g' -e 's| `\([a-z]\)| $(\1|g' -e 's|=`|=$(|g' -e 's|`$|)|g'

 

this handle 95 % of ksh 88 script(s). the rest you have to correct manually.

 

regards