On 1/2/17 4:59 AM, Steve Amerige wrote:
> From an end-user's perspective, it is unexpected that the LINENO has the
> value of the
> beginning of the function instead of the line at which the ERR was caught
> by trap.
Sure, it's missing functionality. Eduardo's patch was pretty much spot-on.
It will be fixed in the next version of bash, at least.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/