[CentOS] bash variable expansion moment
Philip Gwyn
liste at artware.qc.caMon Nov 23 16:56:13 UTC 2009
- Previous message: [CentOS] bash variable expansion moment
- Next message: [CentOS] bash variable expansion moment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [CentOS] bash variable expansion moment
- Next message: [CentOS] bash variable expansion moment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list