That is what I trying to explain: you do not need to do anything, just write:
gens.ksh arg1 arg2 arg3
you do not need any function to do that.
But you can have:
Code:
function callCode {
"$@"
}
that will execute the first argument as a script or app and will pass the following ones to it
(by the way what kind of language is it?)