chris-l2
8/29/2012 - 8:31 PM

Stop BASH loops from acting strange when filenames have spaces in them

Stop BASH loops from acting strange when filenames have spaces in them

#this replaces the default separator (a space) with a character combination unlikely to be found in a file name.

SAVEIFS=$IFS
IFS=$(echo -en "\n\b")