Reading null delimited strings through a Bash loop
The preferred way to do this is using process substitution while IFS= read -r -d $’\0′ file; do # Arbitrary operations on “$file” here done < <(find /some/path -type f -print0) If you were hell-bent on parsing a bash variable in a similar manner, you can do so as long as the list is not … Read more