It's fairly simple. All you have to do is:

make a text file (non executable) with, for example :
fun1()
{
...
}

xyz()
{
...
}
.... and soon

In your larger bash script, just havethe following :

. <name of function text file>

And that's it.

Reply via email to