MLUG: Re: [MLUG] deleting a file named '-'
Re: [MLUG] deleting a file named '-'
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Thu, 1 Mar 2001, Michael wrote:

> I just did exactly that and it worked without any problem. You sure
> there were no invisible chars or anything in the file name?

Hmm..  Well, what I did was fire up bash and ...

EMAIL:PROTECTED:~> bash
bash-2.02$ rm \-
usage: rm [-fiRr] file ...

Maybe the problem is that I was running bash from tcsh so it still didn't
work, or maybe the difference is that I'm using Solaris and you are using
Linux, so the rm commands are a little different.  (Either way, I'm using
rm ./- next time!)  :-)

Mike


> On Thu, 1 Mar 2001, Mike Miller wrote:
> 
> > what does that have to do with spaces?  This won't work:
> > 
> > rm \-
> > 
> > I tried it.  I even left tcsh and went to bash and it didn't work.  But,
> > like I said, this worked

--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/