bug-bash
[Top][All Lists]
Advanced

[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

Attachment: err-trap
Description: Text document

``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.case.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]