Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!allyn From: allyn@hp-sdd.hp.com (Allyn Fratkin) Newsgroups: comp.sys.hp Subject: Re: Trying to remove a file called "-ls" Message-ID: <1819@hp-sdd.hp.com> Date: 12 Mar 89 08:13:54 GMT References: <570@sdrc.UUCP> <1818@hp-sdd.hp.com> Sender: news@hp-sdd.hp.com Lines: 15 In article <1818@hp-sdd.hp.com>, nick@hp-sdd.hp.com.UUCP (Nick Flor) writes: > Try 'rm ../(current directory name)/-ls'. You don't need the single > quotes. If it's on your top level directory you can type "rm ~/-ls". rm ./-ls is an easier and equally effective method. incidentally, the original poster claimed that "rm -i *" worked on machines other than his hp. well, i tried "rm -i *" on a 4.3 BSD VAX, and it did not work. i think the only way it could have worked is if the original poster had a file that sorted before -ls in his directory. -- From the virtual mind of Allyn Fratkin allyn@sdd.hp.com San Diego Division - or - Hewlett-Packard Company uunet!ucsd!hp-sdd!allyn