Hi,

i have a directory with some files with spaces in the name:

abc 1.mp3
abc 2.mp3
abc 3 track 2.mp3

For my shell script i have to begin so:

for i in `ls`; do echo $i; done

the output results in:

abc
1.mp3
abc
2.mp3
abc
3
track
2.mp3

But i want to get the same output as 'ls':

abc 1.mp3
abc 2.mp3
abc 3 track 2.mp3



What have i to do?

thanks and regards,
hampel





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to