Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!public!thad From: thad@public.BTR.COM (Thaddeus P. Floryan) Newsgroups: comp.unix.wizards Subject: Re: I have a file named "-" Message-ID: <1922@public.BTR.COM> Date: 26 Feb 91 08:17:17 GMT References: <22834@hydra.gatech.EDU> Organization: BTR Public Access UNIX, MtnView CA, Contact: cs@btr.com 415-966-1429 Lines: 18 In article <22834@hydra.gatech.EDU> gt2807a@prism.gatech.EDU (Benjamin H. Cowan) writes: > > I have a file whose name consists of the single character "-". I can't >rm it or mv it or cat it or more it or anything to it. How can I get rid of >it? $ rm ./- or you could "rm -fr *" followed by the Norton Utilities to undelete all BUT the file named ``-'' :-) Thad P.S. I figured to answer this ASAP (and throw in some humor) before another round of eleventy-seven flames begins re: inappropriate questions; sometimes it's less tiresome to just answer than to get on a soapbox. Thad Floryan [ thad@btr.com (OR) {dewcwrl, mips, fernwood}!btr!thad ] Brought to you by Super Global Mega Corp .com