9 Mar
2010
9 Mar
'10
11:17
Istvan Gabor wrote:
I do know how to use for loops, I have problem with white spaces in file names. Can $i handle these files?
The most important thing is to remember to double quote filenames, like David Bolt and David Haller showed. If you forget that, the shell uses the spaces to break the name into several arguments. If you remember to quote, the shell treats the whole name as one argument. So no, $i can't handle it, but "$i" can handle it. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org