"BASH for loop works nicely under UNIX / Linux / Windows and OS X while working on set of files. However, if you try to process a for loop on file name with spaces in them you are going to have some problem. for loop uses $IFS variable to determine what the field separators are. By default $IFS is set to the space character. There are multiple solutions to this problem."
http://www.cyberciti.biz/tips/handling-filenames-with-spaces-in-bash.html
No comments:
Post a Comment