Hi,
I'm not sure if its possible, but I'm looking for a way to call a bash function from its subprocess. It could be something like:
function testfunc() { echo test function; }
bash -c 'testfunc'
This doesn't work obviously, but is there any way to achieve something like this?
Thanks a lot for the help!