You can execute commands in another script simply calling it... if you want to "define" functions or aliases in the child script then you must to execute the commands in the same environment... how you do that? If you are in the Bourne Shell, the Korn Shell or Bourne Again Shell (sh,ksh,bsh) you must to use
[tt]
. /name/of/script
[/tt]
If you are in the C Shell or derivatives like TCSh you must to use
[tt]
source /name/of/script
[/tt]
I hope it works...