[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trying to make sense of BASH_LINENO
From: |
Chet Ramey |
Subject: |
Re: trying to make sense of BASH_LINENO |
Date: |
Mon, 23 Mar 2009 09:31:50 -0400 |
> I'm trying to write a "stack trace" function and BASH_LINENO doesn't
> make sense sometimes and doesn't appear too accurate at others.
>
> Here's my test script:
Try this patch against bash-4.0 and see if it addresses your questions.
Chet
err-trap
Description: Text document
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU chet@case.edu http://tiswww.tis.case.edu/~chet/