[CentOS] bash variable expansion moment

Mon Nov 23 16:56:13 UTC 2009
Philip Gwyn <liste at artware.qc.ca>

On 16-Nov-2009 ken wrote:
> On 11/15/2009 06:32 PM Stephen Harris wrote:
>> On Sun, Nov 15, 2009 at 06:21:40PM -0500, ken wrote:
>> 
>>>> ....
>> 
>>     echo This is line "${BASH_LINENO[0]}" $@
>> 
>>   ,,,,
> 
> That's all I needed.  Thanks.

You might also want to check out bash's built in `caller` command.

-Philip