Nguyễn Việt Thắng
New member
What is $Bash_source?
Answer
${BASH_SOURCE[0]} (or, more simply, $BASH_SOURCE ) contains
the (potentially relative) path of the containing script in all invocation scenarios, notably also when the script is sourced, which is not true for $0 .
Answer
${BASH_SOURCE[0]} (or, more simply, $BASH_SOURCE ) contains
the (potentially relative) path of the containing script in all invocation scenarios, notably also when the script is sourced, which is not true for $0 .