rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: haahr@mv.us.adobe.com (Paul Haahr)
To: egsirer@phoenix.Princeton.EDU
Cc: rc@hawkwind.utcs.toronto.edu
Subject: Re:  bug in globber?
Date: Sun, 23 May 1993 00:31:50 -0400	[thread overview]
Message-ID: <9305230431.AA21172@astro.mv.us.adobe.com> (raw)

Gun writes
> I think (and Byron can correct me if I'm wrong) this is because rc globs
> all the elements of a path if there is globbing anywhere within it. That
> is, given "foo/../foo*" rc will first match "foo" against everything in ".",
> ".." against everything in foo (for which it needs read permission) and
> "foo*" against stuff in "foo/..". 

and he's right.  it's actually a trivial change to make; we changed it
when we ported rc's globber to es.  i believe that Byron had put it on
his list of changes for 1.5, and it's probably a change that should be
made for both correctness and performance reasons.

paul


             reply	other threads:[~1993-05-23  4:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-05-23  4:31 Paul Haahr [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-05-22 23:46 Emin Gun Sirer
1993-05-22 17:13 Alan Watson

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=9305230431.AA21172@astro.mv.us.adobe.com \
    --to=haahr@mv.us.adobe.com \
    --cc=egsirer@phoenix.Princeton.EDU \
    --cc=rc@hawkwind.utcs.toronto.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).