[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] extdebug not providing expected results with declare -F
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] extdebug not providing expected results with declare -F |
Date: |
Wed, 22 Jul 2015 11:16:40 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
On 7/22/15 10:26 AM, 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 created a file with a test function in it and loaded the function via
> "source filename", and enabled extdebug via "shopt -s extdebug". However,
> when I execute the command "declare -F",
>
> source file and line number are not included in the output. What am I doing
> wrong?
declare -F function-name
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/