[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

OT: shell scripts and spaces in file/folder names



Hello everybody,

I'm trying to learn to write shell scripts... but I
have a problem: I've got some files which have spaces
in their names (yeah I know it's ugly... but it'll be
some searching to find those)

Those files kill many of the shell scripts - some of
them go through all files in the given directory,
like:

for i in `ls .`
do
  #...
done

Can anybody tell me how I can make this work even
though I have filenames with spaces ? 

Thank you !

Joris

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com



Reply to: