Path: utzoo!attcan!uunet!sdrc!diblanch From: diblanch@sdrc.UUCP (Jeff Blanchet) Newsgroups: comp.sys.hp Subject: Trying to remove a file called "-ls" Keywords: HP bug Message-ID: <570@sdrc.UUCP> Date: 10 Mar 89 21:39:10 GMT Organization: Structural Dynamics Research Corp., Cincinnati Lines: 21 I seem to have stumbled across a bug that occurs on the HP. I created a file called "-ls". Now on any other UNIX system all I have to do is issue the command "rm -i *". This doesn't work on the HP 9000/300 series running HP U/X 6.0 and 6.2. I tried all kinds of different ways to get rid of the file. I tried using the "mv" command but that didn't work on the 300. I tried the mv command on the 800 and I could use the "mv" command and then remove the file. Anyway I have found one way to get rid of a file with this type of name. "find . -name "-ls" -exec rm {} \;" got rid of the file. Pretty interesting!!! Anyone else know of a way to delete such a file? P.S. I have tried using "rm -i *" on other UNIX systems and it works fine. Jeff Blanchet UUCP: uunet!sdrc!diblanch SDRC Cincinnati Ohio