Luca Dionisi wrote:
On 8/27/06, Angel Tsankov <[EMAIL PROTECTED]> wrote:

Btw, how do I call a function in a bash script from another bash script?

Try putting all your functions alone in a file, then source that file
(man source)

That's one possibility that definitely works.

AFAIK if you 'export my_func' in the first script, then it will be visible from
a child script.

B.


--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to