From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id CAA11408 for ; Tue, 23 Jul 1996 02:28:30 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id MAA25680; Mon, 22 Jul 1996 12:24:06 -0400 (EDT) Resent-Date: Mon, 22 Jul 1996 12:23:15 -0400 (EDT) From: "Bart Schaefer" Message-Id: <960722092318.ZM8604@candle.brasslantern.com> Date: Mon, 22 Jul 1996 09:23:18 -0700 In-Reply-To: Zoltan Hidvegi "Re: completing second argument of cd" (Jul 22, 4:59pm) References: <199607221459.QAA08398@turan.elte.hu> Reply-To: schaefer@nbn.com X-Mailer: Z-Mail (4.0b.702 02jul96) To: Zoltan Hidvegi , pws@ifh.de (Peter Stephenson), zsh-users@math.gatech.edu Subject: Re: completing second argument of cd MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"wxC8M3.0.hG6.ohwyn"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/321 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Jul 22, 4:59pm, Zoltan Hidvegi wrote: } Subject: Re: completing second argument of cd } } Have a look at Misc/compctl-examples and Functions/cdmatch2. These examples would be a lot more helpful if they included some comments explaining which of zsh's baroque parameter manipulation features they are (ab)using, and why. It's pretty obvious that Peter's function and Zoltan's are both doing the same basic thing; but I have NO idea what reply[(r)] in Zoltan's version means, since according to the documentation the (r) should be followed by a pattern. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.nbn.com/people/lantern New male in /home/schaefer: >N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"