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 melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id CAA12188 for ; Fri, 7 Jun 1996 02:56:32 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id MAA23417; Thu, 6 Jun 1996 12:47:40 -0400 (EDT) Resent-Date: Thu, 6 Jun 1996 12:47:40 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199606061648.SAA01157@bolyai.cs.elte.hu> Subject: Re: Globbing in redirections To: A.Main@dcs.warwick.ac.uk (Zefram) Date: Thu, 6 Jun 1996 18:48:31 +0200 (MET DST) Cc: A.Main@dcs.warwick.ac.uk, zsh-workers@math.gatech.edu In-Reply-To: <27406.199606061636@granite.dcs.warwick.ac.uk> from Zefram at "Jun 6, 96 05:36:37 pm" 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+ PL16 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"aKFHM3.0.pj5.ikmjn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1280 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > However, my original point stands. ksh doesn't do brace expansion in > redirections. We need to split up prefork() somewhere -- is there > another function that would be more appropriate to use in this case? > We need all expansions except for brace expansion and globbing, but > prefork() does everything except globbing. prefork has a flags argument. The easiest solution for this case is eg. if bit is 3 set than do not do brace expansion. Zoltan