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

Path csiph.com!aioe.org!news.glorb.com!usenet.stanford.edu!not-for-mail
From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups gnu.bash.bug
Subject Re: [Help-bash] extdebug not providing expected results with declare -F
Date Wed, 22 Jul 2015 10:39:49 -0400
Lines 19
Approved bug-bash@gnu.org
Message-ID <mailman.7261.1437576028.904.bug-bash@gnu.org> (permalink)
References <CACbnAKZhYBK=Su+Dav7jidFeswfD6vtHFDy+3asZp3FWsoC68w@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace usenet.stanford.edu 1437576028 24762 208.118.235.17 (22 Jul 2015 14:40:28 GMT)
X-Complaints-To action@cs.stanford.edu
Cc help-bash@gnu.org
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
Content-Disposition inline
In-Reply-To <CACbnAKZhYBK=Su+Dav7jidFeswfD6vtHFDy+3asZp3FWsoC68w@mail.gmail.com>
User-Agent Mutt/1.4.2.3i
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 139.137.100.1
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref aioe.org gnu.bash.bug:11251

Show key headers only | 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