Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!gatech!gitpyr!stat!curci From: curci@stat.uucp (Ray Curci (scri)) Newsgroups: comp.sys.hp Subject: Re: Trying to remove a file called "-ls" Keywords: HP bug Message-ID: <7572@pyr.gatech.EDU> Date: 14 Mar 89 01:41:34 GMT References: <570@sdrc.UUCP> <2087@helios.ee.lbl.gov> <7770@venera.isi.edu> Sender: news@pyr.gatech.EDU Reply-To: curci@stat.fsu.edu (Ray Curci (scri)) Organization: Dept. of Statistics, Florida State Univ. Lines: 15 In article <7770@venera.isi.edu> raveling@isi.edu (Paul Raveling) writes: >In article <2087@helios.ee.lbl.gov> JEMilburn@lbl.gov writes: >>In article <570@sdrc.UUCP> diblanch@sdrc.UUCP (Jeff Blanchet) writes: >>>I seem to have stumbled across a bug that occurs on the HP. I created a file >>Try rm "-ls". >Paul Raveling >Raveling@isi.edu The usuall way to get rid of files that begin with '-' is to use the '-' flag in the 'rm' command. To remove the file "-ls", you nomally enter the command: rm - -ls The first dash acts as a place holder so that the rm program does not misinterpret the "ls" as flags to the rm program. curci@nu.cs.fsu.edu