[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Greg Wooledge
Subject: Re: [Help-bash] extdebug not providing expected results with declare -F
Date: Wed, 22 Jul 2015 10:39:49 -0400
User-agent: Mutt/

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]