Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!utgpu!water!watmath!clyde!cbosgd!osu-cis!bgsuvax!denbeste
From: denbeste@bgsuvax.UUCP
Newsgroups: comp.unix.wizards
Subject: Re: more rm insanity
Message-ID: <1413@bgsuvax.UUCP>
Date: Fri, 4-Dec-87 09:55:56 EST
Article-I.D.: bgsuvax.1413
Posted: Fri Dec  4 09:55:56 1987
Date-Received: Tue, 8-Dec-87 02:14:19 EST
References: <9593@mimsy.UUCP>
Organization: Bowling Green State University B.G., Oh.
Lines: 31

In article <9555@mimsy.UUCP> I asked:

>Why is it that people have so much trouble figuring out how to remove 
>files whose names start with `-'?

in article <9593@mimsy.UUCP>, chris@mimsy.UUCP (Chris Torek) says:

.. What else could you call the file to pacify rm ...

> 	3. One is ~/-b.  Notice anything special about this name
> 	   versus that other one?

I like this one.  It is much general than the method I use.
I tell then to type:

% man rm

and notice that rm has a (null) option, -, that causes it to not treat args
beginning with a - as a switch, so all you have to do is type:

% rm - -b

Of course, this one only works for rm, whereas Chris's will work for any
program.  I would be tempted to use ./-b myself, since it is independant
of where you are.

---
          William C. DenBesten | CSNET denbeste@research1.bgsu.edu
      Dept of Computer Science | UUCP  ...!cbosgd!osu-cis!bgsuvax!denbeste
Bowling Green State University |
  Bowling Green, OH 43403-0214 |