From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-relay-2.mv.us.adobe.com ([130.248.1.2]) by hawkwind.utcs.toronto.edu with SMTP id <2230>; Sun, 23 May 1993 00:31:03 -0400 Received: by mail-relay-2.mv.us.adobe.com; id AA15343; Sat, 22 May 93 21:30:54 -0700 Received: by astro.mv.us.adobe.com; id AA21172; Sat, 22 May 93 21:31:50 -0700 Date: Sun, 23 May 1993 00:31:50 -0400 From: haahr@mv.us.adobe.com (Paul Haahr) Message-Id: <9305230431.AA21172@astro.mv.us.adobe.com> To: egsirer@phoenix.Princeton.EDU Subject: Re: bug in globber? Cc: rc@hawkwind.utcs.toronto.edu 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