From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Wed, 16 Jun 2004 00:57:13 -0400 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] how to delete directories prefixed with a dash In-Reply-To: <84f5cde727c85591db7049828fdae03f@9netics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <84f5cde727c85591db7049828fdae03f@9netics.com> Topicbox-Message-UUID: a28829da-eacd-11e9-9e20-41e7f4b1d025 > I think i did a 'mkdir -p -m 777 xxx' , before either flag was supported > and thus created a -p and a -m directory. I finally removed them by > cd'ing to those dirs and doing a 'rm .'; > > What's the quoting rule to get that type of name past the flags > processing in rm (or anything else that has flags)? rm -- -p