
In my directory I have two files with space, foo bar and another file. I also have two files without space, file1 and file2.
The following script works:
for f in foo\ bar another\ file; do file "$f"; done
This script also works:
for f in 'foo bar' 'another file'; do file "$f"; done
But the foll...