I'll like to convert an array of strings in this format ["1.2.1","1.9.2"] to ("1.2.1" "1.9.2") using a bash script.
I tried this
${MY_TAGS//[[\], .!]}
I got this
'100101'
What I'll like as output in
("1.2.1" "1.9.2")
I'll like to convert an array of strings in this format ["1.2.1","1.9.2"] to ("1.2.1" "1.9.2") using a bash script.
I tried this
${MY_TAGS//[[\], .!]}
I got this
'100101'
What I'll like as output in
("1.2.1" "1.9.2")