From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23139 invoked from network); 9 Jan 1997 21:08:55 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 9 Jan 1997 21:08:55 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id QAA11572; Thu, 9 Jan 1997 16:04:49 -0500 (EST) Resent-Date: Thu, 9 Jan 1997 16:04:49 -0500 (EST) From: Zoltan Hidvegi Message-Id: <199701092106.WAA26236@bolyai.cs.elte.hu> Subject: Re: Metacharacters in PATH variable? In-Reply-To: <7270.199701091904@stone.dcs.warwick.ac.uk> from Zefram at "Jan 9, 97 07:04:56 pm" To: zefram@dcs.warwick.ac.uk (Zefram) Date: Thu, 9 Jan 1997 22:05:59 +0100 (MET) Cc: olsenc@ichips.intel.com, zsh-workers@math.gatech.edu Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368 X-Mailer: ELM [version 2.4ME+ PL27 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"yYhi93.0.kq2.mrLro"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2763 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Zefram wrote: > >or better yet somehow dynamically find all the bin dirs here and add it to > >the path in some sort of compact notation like the above. > > path=( $path /opt/*/bin ) Or if the bin dir is deeper, you can try path=( $path /opt/**/bin(-/) ) Zoltan