From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] removing a file begins with minus sign MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20011218025105.29F67199E7@mail.cse.psu.edu> Date: Mon, 17 Dec 2001 21:51:03 -0500 Topicbox-Message-UUID: 38aac872-eaca-11e9-9e20-41e7f4b1d025 in addition to using rm ./-jisho, there is another way. all programs that parse arguments with ARGBEGIN/ARGEND (or with unix getopt for what that's worth) stop looking for arguments after seeing --. thus you can say rm -- -jisho (or, as another example, grep -n -- '->pdb' *.[ch])