Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!rodney From: rodney@sun.ipl.rpi.edu (Rodney Peck II) Newsgroups: comp.unix.wizards Subject: Re: I have a file named "-" Message-ID: Date: 27 Feb 91 16:29:15 GMT References: <1991Feb26.170212.22920@convex.com> <6661@idunno.Princeton.EDU> <6668@idunno.Princeton.EDU> Organization: Rensselaer Polytechnic Institute, Troy NY Lines: 25 Nntp-Posting-Host: ipl.rpi.edu >In article <6661@idunno.Princeton.EDU> pfalstad@phoenix.Princeton.EDU (Paul Falstad) writes: >>Ask a coworker!?! Please, please; let's at least answer the question >>before tempers get out of control. >> >>If you have a file that simply has a '/' in it, you can >>just quote the slash: >> >> rm "/" >> "AAAAARRHRRHRHRGHGHGRAAH!" "No, that's wrong," he said wondering when this would ever end. I like the "ask a coworker" idea. But if that isn't good enough, at least don't give answers like this that are blatently incorrect. Go ahead and make a file called / and try to do anything to it with quotes around the /. You can try '/', "/", './/', \/ and any other quoting you like, but it simply will not work. The answer to get around '-' as the first char is to get something else in front of the -. Generally, the answer is "rm ./-". This group is fun -- it really tests your level of tolerance. -- Rodney