From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18238 invoked by alias); 4 Dec 2014 17:24:19 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33844 Received: (qmail 28182 invoked from network); 4 Dec 2014 17:24:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=IOK10brD c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=A92cGCtB03wA:10 a=MlaU5tnwddSed3tyVAwA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <141204092410.ZM9186@torch.brasslantern.com> Date: Thu, 04 Dec 2014 09:24:10 -0800 In-reply-to: <141204085606.ZM9146@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Re: Something rotten in tar completion" (Dec 4, 8:56am) References: <20141202155452.647182b4@pwslap01u.europe.root.pri> <141202084858.ZM31517@torch.brasslantern.com> <20141202172654.30e7d380@pwslap01u.europe.root.pri> <141204085606.ZM9146@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Subject: Re: Something rotten in tar completion Cc: Peter Stephenson MIME-version: 1.0 Content-type: text/plain; charset=us-ascii (Aside, I think I know WHAT is going on with my email not reaching the list, now I just have to figure out WHY.) On Dec 4, 8:56am, Bart Schaefer wrote: } } not seem useful to regenerate the recursive listing for every directory } in the recursive-files style: } } + local subtree } + subtree=( **/*(/) ) } for rfile in $rfiles; do } if [[ $PWD/ = ${~rfile} ]]; then } - for prepath in **/*(/); do } + for prepath in $subtree; do I suppose the assumption is that $PWD/ will only match one of the rfiles patterns, so this might actually be more work than before. Ignore this patch, sorry. -- Barton E. Schaefer