Re: bash variable expansion moment

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



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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux