space in file name Error
Can someone please suggest how to print out the names of files having space in between them.
I am running the following for loop , but the thing is it is treating space delimiter between file names as new file ......please help
*************************************************
>>>>>>>>>ls -lrt
total 0
-rw-r--r--. 1 root root 0 Oct 31 11:31 file 3
-rw-r--r--. 1 root root 0 Oct 31 11:31 file 2
-rw-r--r--. 1 root root 0 Oct 31 11:31 file 1
>>>>>for i in `ls`; do echo $i;echo "****"; done
file
****
1
****
file
****
2
****
file
****
3
****
|