I thought it would be easy to find an answer to this question, but I can find nothing on the web:
I have a function declared in .bashrc. I want to call that function from within a script. If I type:
$> source scriptname
the function is found. If I try:
$> scriptname
the function is not found.
At this point I can't see any reason why bash wants to make this difficult. Is there some way to make the 'source'ing automatic?