# This works fileName='abc.xyz' md5sum=$(md5sum ${fileName})
# This doesn't fileName='spaces in file name.xyz' md5sum=$(md5sum ${fileName})
How do you write the $(...) statement to allow for filenames containing spaces. I've tried various things ("...", '...', \"...\", \'...\', IFS='\n', etc) and none worked. I can't seem to get the syntax right.
-- Bill Gradwohl bill@xxxxxxx http://www.ycc.com SPAMstomper Protected email