Prev: An instructive example of trace-function and some example of debugging
Next: Cheap wholesale 2010 World Cup jerseys by paypal and free shipping
From: Thomas Evangelidis on 12 Jun 2010 16:16 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 12 Jun 2010 16:24
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 |