Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!awdprime!doorstop.austin.ibm.com!tif From: tif@doorstop.austin.ibm.com (Paul Chamberlain) Newsgroups: comp.unix.internals Subject: Re: I have a file named "-" Message-ID: <5649@awdprime.UUCP> Date: 27 Feb 91 14:40:29 GMT References: <22834@hydra.gatech.EDU> <1991Feb26.170212.22920@convex.com> <6661@idunno.Princeton.EDU> Sender: news@awdprime.UUCP Reply-To: tif@doorstop.austin.ibm.com (Paul Chamberlain) Organization: IBM AWD, Austin Lines: 16 I'm probably not the first or the last to point this out... pfalstad@phoenix.Princeton.EDU (Paul Falstad) writes: >If you have a file that simply has a '/' in it, you can just ... > rm "/" >But a file with a - in it takes special handling. [C programs?!] I hope it's completely obvious that this is way out in left field. Both of these are probably covered in the FAQ but briefly: a filename with "/" is difficult and has been discussed at length. I think it requires a "clri", editing the disk, or unlinking the parent directory. a filename with "-" can be accessed or removed by using "./-" Paul Chamberlain | I do NOT speak for IBM. IBM VNET: PAULCC AT AUSTIN 512/838-9662 | ...!cs.utexas.edu!ibmchs!auschs!doorstop.austin.ibm.com!tif