Have you tried to echo what your script of array outputs at the first place?
It puts there a comma, that is the problem.
Remove all the commas from the âfilesâ list and your script will run as expected, and youâll get outputs.
Have you tried to echo what your script of array outputs at the first place?
It puts there a comma, that is the problem.
Remove all the commas from the âfilesâ list and your script will run as expected, and youâll get outputs.