bug-gettext
[Top][All Lists]
Advanced

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

envsubst with bash associative array


From: Luca Casavola
Subject: envsubst with bash associative array
Date: Wed, 16 Oct 2024 21:07:40 +0200
User-agent: Mozilla Thunderbird

Hello gettext devs,

I am an happy user of your useful tool envsubst.

I wonder if this tool is going to handle bash's associative arrays as well, available since v.4.

I tried this code but it doesn't work in my case:

declare -A test_var
test_var[bas]=100
export test_var
echo "\${test_var[bas]}" | envsubst
	${test_var[bas]} ( instead of 100)

Best Regards


-- 
Luca Casavola 

Scanned by Amavis

reply via email to

[Prev in Thread] Current Thread [Next in Thread]