http://bugs.openembedded.org/show_bug.cgi?id=998





------- Comment #2 from [EMAIL PROTECTED]  2006-06-20 04:30 -------
setting IFS='\n' will help avoiding the breakage of
/etc/some clever filename
sample: dir with 
[EMAIL PROTECTED]:~/testdir$ ls -la
insgesamt 20
drwxr-xr-x   2 ew ew     4096 2006-06-20 13:29 .
drwxr-xr-x 142 ew users 16384 2006-06-20 13:28 ..
-rw-r--r--   1 ew ew        0 2006-06-20 13:28 a
-rw-r--r--   1 ew ew        0 2006-06-20 13:29 b
-rw-r--r--   1 ew ew        0 2006-06-20 13:29 c d

testdir$> for a in `ls *` ; do echo $a ; done
a
b
c
d < BAD !!!

~/testdir$> export  IFS='\n' 
~/testdir$> for a in `ls *` ; do echo $a ; done
a
b
c d < Nice 


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to