9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Dave Lukes <davel@anvil.com>
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
Date: Fri, 18 Jun 2004 10:20:45 +0100	[thread overview]
Message-ID: <40D2B3ED.4020301@anvil.com> (raw)
In-Reply-To: <2c0570d90e9065dec3913f1726e373eb@vitanuova.com>

rog@vitanuova.com wrote:
>>... but grep understands \\:-).
> 
> 
> and...?

... and you can do:
	grep \\-...

>>>	rm ./$1
>>>
>>>isn't correct.
>>
>>Why not?
> 
> 
> 'cos you might want to give an argument that's not relative
> to the current directory?

In which case you say
	rm /....
and there's no '-' problem, right?

	DaveL.



  reply	other threads:[~2004-06-18  9:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-16  3:34 Skip Tavakkolian
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 [this message]
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=40D2B3ED.4020301@anvil.com \
    --to=davel@anvil.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).