the thing I want to do is saving the output in an array/for loop in a bash script, so I can use them later on...
The problem is that the names of the directories contains multiple words,
example: "accounting January 2010"
I've tried the following:
for i in $(ls /home/karel/accounting)
i get the following output:
as you can see every word of the directory is an entry
instead of "accounting January 2009" i get "accounting", "January" and "2009", 3 separate words
now this is the problem
someone knows a solution? so that every time the $i is called, the name of a directory is shown and not just one word...
Thx and happy new-year to you all