Why does exporting a variable inside a Bash function not always make it available outside the function?
ABecause local variables inside functions are destroyed after function ends, even if exported.
BBecause export only works for global variables declared before the function.
CBecause Bash does not support exporting variables inside functions.
DBecause exported variables inside functions are only available to parent processes.