[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rm a file with name '--min-size=8'



Ian Malone wrote:
>> Alternatively, you can escape every hyphen and equals sign within the file
>> name:
>> $ rm -i \-\-min\-size\=8
>>

> Will this actually work?  Doesn't bash eat the escapes before rm
> sees them?

I just SSH'ed into my webhost (running a heavily patched FC2) and it appears
that you are right. It only works when I use the double hyphen method.

Thanks for the clarification. :)
-- 
Peter Gordon (codergeek42)
This message was sent through a webmail
    interface, and thus not signed.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]