tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ${LINENO} implementation change for /bin/sh



On May 8, 10:37pm, kre%munnari.OZ.AU@localhost (Robert Elz) wrote:
-- Subject: Re: ${LINENO} implementation change for /bin/sh

| Yes, but (once I look at doing it, if it is reasonable to implement)
| making "local LINENO" in the function cause local line numbering instead.
| 
| The alternative would be an option set before the function is defined
| (which I have implemented already, and works).
| 
| Of we could have both, perhaps (the option is really cheap, don't know
| about the other yet.)
| 
| Or of course, we can just pick one way (like everyone else does - though
| they haven't all picked the same way) and do that all the time.

Or another variable, like FUNCLINENO, so you can have both at the same time :-)

christos


Home | Main Index | Thread Index | Old Index