Ih all,
i have multiples ksh scripts for crontab's unix jobs
they all have same variables declarations and some similar functions
i would have a only single script file to declare my variables, like:
var1= "aaa"
var2= "bbb"
var3= "ccc"
...
function ab { ...}
function bc { ... }
function cd { ...}
...
and import this from all my others scripts
? is there any way to do except using export command ?
[sourcing a sh script . myscript or ./myscript work but not in ksh]
thx