*BSD News Article 82366


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!leon.replicant.apana.org.au!news
From: tedp@replicant.apana.org.au (Ted Palmer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: dummy question
Date: Tue, 05 Nov 1996 17:33:01 GMT
Organization: RC17 Proving Labs
Lines: 27
Message-ID: <55ntt8$mnh@leon.replicant.apana.org.au>
References: <53mfdu$1iv@wa4phy.async.com> <53nf8l$kaa@Symiserver2.symantec.com> <32714A6E.15FB7483@connect.ie>
Reply-To: tedp@replicant.apana.org.au
NNTP-Posting-Host: deckard.replicant.apana.org.au
X-Newsreader: Forte Free Agent 1.0.82

Paul O'Malley <schildt@connect.ie> wrote:

>tedm@agora.rdrop.com wrote:
>> 
>> In <53mfdu$1iv@wa4phy.async.com>, sam@wa4phy.async.com (S.W. Drinkard) writes:
>> >
>> >Ok, I'm not exactly a newbie, but I created a file with a filename of
>> >"--remove-files" due to a blunder of the fingers.  SysV would let me
>> >remove it in quotes, or by matching a wildcard patern.  I tried every
>> >combination of rm/mv/whatever short of the 45-cal pistol.  How does
>> >*bsd do it?
>> 

>being a lazy person I would use mc (Midnight Commander)

Dunno about mc but:
I pulled a similar stunt once on another OS.
I ended up having to mv all the other files out of the directory,
then 'rm *' or 'rm *.*' to remove the offending file.

Mister_T
-- 
   \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
   |   RC17   KLR600    Coherent 4.2.10    OS/2 2.11    Roces BCN    |
   |    FreeBSD 2.1.5R              tedp@replicant.apana.org.au      |
  \|_________________________________________________________________|