But Bash arrays don’t use comma, what’s the problem?
I see Bash only uses commas in Brace expansions:
file{1,2,3}.txt # file1.txt file2.txt file3.txt
I guess it would only be a problem if you want to expand
file,.txt
file,,.txt
file,,,.txt echo file{",",",,",",,,"}.txt