Hello,
In a Bourne shell script I have a list of items delimited by a comma and I would like to change this, setting it to a variable, to be delimited by spaces.
In other words, I want to convert all the commas to spaces in the list and set this to a variable.
What can you advise?
Thanks,
Michael42
In a Bourne shell script I have a list of items delimited by a comma and I would like to change this, setting it to a variable, to be delimited by spaces.
In other words, I want to convert all the commas to spaces in the list and set this to a variable.
Code:
TABLES1="a,b,c,d"
TABLES2="[b]<same list a TABLES1 but delimited by spaces>[/b]"
What can you advise?
Thanks,
Michael42