Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11251

Re: [Help-bash] extdebug not providing expected results with declare -F

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups gnu.bash.bug
Subject Re: [Help-bash] extdebug not providing expected results with declare -F
Date 2015-07-22 10:39 -0400
Message-ID <mailman.7261.1437576028.904.bug-bash@gnu.org> (permalink)
References <CACbnAKZhYBK=Su+Dav7jidFeswfD6vtHFDy+3asZp3FWsoC68w@mail.gmail.com>

Show all headers | View raw


On Wed, Jul 22, 2015 at 07:26:54AM -0700, Michael Convey wrote:
> According to man bash:
> 
> The -F option to declare or typeset will list the function names only (and
> optionally the
> ??????
> source file and line number, if the extdebug shell option is enabled).

I have no comment on the extdebug part, but while perusing the man page
to find this section, I came across:

      Note that shell functions and variables with the same name may result
      in multiple identically-named entries in the environment passed to the
      shell's children.  Care should be taken in cases where this may cause
      a problem.

I believe this section is no longer correct, as exported functions now
use BASH_FUNC_funcname%% in the environment.

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: [Help-bash] extdebug not providing expected results with declare -F Greg Wooledge <wooledg@eeg.ccf.org> - 2015-07-22 10:39 -0400

csiph-web