Re: [ILUG] shell script Q

From: John P . Looney (valen at domain tuatha.org)
Date: Fri 17 Sep 1999 - 12:16:21 IST


On Fri, Sep 17, 1999 at 12:07:35PM +0100, Sean McGrath mentioned:
> > And, later, call it with:
> > assert "$#" == "5"
> > Is there any way I can print out the name of the shell function that
> > assert() was called from ?
> $LINENO ? In bash anyways.

 Good call. Means I've to look up the function that went bad, but it's a
start. C'mon gurus. This has to be possible.

Kate

-- 
Microsoft. The best reason in the world to drink beer.


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:34 GMT