> 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/