Hi all,
I'm getting problems accessing functions in ksh from other ksh files --- is there a way to do this? And does anyone have any suggestions to pass parameters from one script to another that has functions in it?
Basically I'm trying to avoid having tons of the same functions in every script I create.
A way I was trying to get around this was that inside script1 I would call script2 and pass a parameter to it -- Then inside script2 pick up the argument and test it using a case ---- but this gets a bit messy too...
Any suggestions/advice?
Thanks again,
elpico.
I'm getting problems accessing functions in ksh from other ksh files --- is there a way to do this? And does anyone have any suggestions to pass parameters from one script to another that has functions in it?
Basically I'm trying to avoid having tons of the same functions in every script I create.
A way I was trying to get around this was that inside script1 I would call script2 and pass a parameter to it -- Then inside script2 pick up the argument and test it using a case ---- but this gets a bit messy too...
Any suggestions/advice?
Thanks again,
elpico.