[Bug 591677] Re: bash documentation about BASH_LINENO and BASH_SOURCE is vague and inconsistent

2014-10-24 Thread Phil
The documentation should also note that these 3 arrays along with the builtin 'caller' do not work properly if called from a function exported from the interactive shell ++file: .bashrc myGlobal () { for i in $(seq 0 ${#FUNCNAME[@]}); do echo "function: ${FUNCNAME[$i]}" echo "source: $

[Bug 591677] Re: bash documentation about BASH_LINENO and BASH_SOURCE is vague and inconsistent

2014-10-24 Thread Phil
And that's what I get for copy/pasting. export -f import is supposed to be export -f myGlobal I find it odd I can't edit my comment above. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/591677 Titl

[Bug 591677] Re: bash documentation about BASH_LINENO and BASH_SOURCE is vague and inconsistent

2011-04-06 Thread Heiko Scheit
Why is this still marked as 'new'? It is a simple clarification of the bash info-pages. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/591677 Title: bash documentation about BASH_LINENO and BASH_SOU