Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpda!hpcupt1!hpirs!wk From: wk@hpirs.HP.COM (Wayne Krone) Newsgroups: comp.sys.hp Subject: Re: Trying to remove a file called "-ls" Message-ID: <4640014@hpirs.HP.COM> Date: 24 Mar 89 01:07:27 GMT References: <570@sdrc.UUCP> Organization: Hewlett Packard, Cupertino Lines: 4 > Why not rm -i * and answer no to all the queries except -ls? Because * is expanded by the shell so the argument list passed to rm might be "-i -ls foo1 foo2".