From: Thomas Evangelidis on
Hi all,

I'm trying to import some functions I have saved in a file named
functions.sh into a different script (protocol.sh). Can anybody show
me how to do this? I tried source functions.sh as I would do at the
terminal but source command cannot be found from within the script
protocol.sh.

thanks in advance,
Tom
From: Martin Vaeth on
Thomas Evangelidis <tevang3(a)gmail.com> wrote:
> source functions.sh

"source" is a bashism which will not work in other shells.
The standard command (with the same meaning) is ".", i.e.
.. /path/to/functions.sh