In <[🔎] 4c9f6907$0$18650$4fafbaef@reader3.news.tin.it>, Lorenzo Beretta wrote:
>Il 24/09/2010 22:10, Boyd Stephen Smith Jr. ha scritto:
>> In<[🔎] 20100924141439.GN15819@wasteland.homelinux.net>, Jochen Schulz wrote:
>>> Enrico Weigelt:
>>>> do_rm() {
>>>>
>>>> while read FILE ; do rm -fr $FILE ; done
>>>>
>>>> }
>>>
>>> That won't work with spaces in filenames.
>>
>> Actually, that *will* work with spaces in the filenames[1], since the
>> shell built-in read doesn't stop until end of line.
>
>No, it won't.
>Look at "rm -fr $FILE" <-- $FILE isn't quoted ;D
I stand corrected. :(
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/
Attachment:
signature.asc
Description: This is a digitally signed message part.