9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <9nut@9netics.com>
To: 9fans@cse.psu.edu
Subject: [9fans] how to delete directories prefixed with a dash
Date: Tue, 15 Jun 2004 20:34:19 -0700	[thread overview]
Message-ID: <84f5cde727c85591db7049828fdae03f@9netics.com> (raw)

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)?



             reply	other threads:[~2004-06-16  3:34 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-16  3:34 Skip Tavakkolian [this message]
2004-06-16  4:48 ` Geoff Collyer
2004-06-16  5:11   ` Don Bailey
2004-06-16  8:48     ` Douglas A. Gwyn
2004-06-16 11:45       ` Russ Cox
2004-06-16 13:32         ` C H Forsyth
2004-06-16 13:45         ` boyd, rounin
2004-06-16 13:57           ` rog
2004-06-16 13:58             ` Dave Lukes
2004-06-16 15:01               ` Skip Tavakkolian
2004-06-18  9:38                 ` Dave Lukes
2004-06-16 16:32               ` rog
2004-06-18  9:20                 ` Dave Lukes
2004-06-17  9:05           ` Douglas A. Gwyn
2004-06-16 22:37       ` Don Bailey
2004-06-16 23:56         ` Geoff Collyer
2004-06-16  4:55 ` Don Bailey
2004-06-16  4:57 ` Russ Cox
2004-06-16  5:39 ` Charles Forsyth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84f5cde727c85591db7049828fdae03f@9netics.com \
    --to=9nut@9netics.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).