8 Dec
2016
8 Dec
'16
17:33
On Thursday 08 December 2016, Paul Groves wrote: This should give you some idea how to get a working script: #!/bin/bash files[1]="1" files[2]="2" files[3]=" 3 \" 4 " files[4]="5" files[5]="6 7" files[6]='"8 9"' echo "files contains ${#files[*]} elements:" for f in "${files[@]}"; do echo "|$f|" done echo echo "${files[@]}" touch "${files[@]}" Run it in a temporary directory. The results of the "touch" should be enlightening ;) Andreas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org