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 CAA19484 for ; Sat, 13 Jul 1996 02:06:13 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id LAA14328; Fri, 12 Jul 1996 11:54:11 -0400 (EDT) Resent-Date: Fri, 12 Jul 1996 11:54:11 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199607121553.RAA09185@bolyai.cs.elte.hu> Subject: Re: Error in zsh.texi and zshexpn.man To: schaefer@nbn.com Date: Fri, 12 Jul 1996 17:53:33 +0200 (MET DST) Cc: zsh-workers@math.gatech.edu In-Reply-To: <960712083804.ZM14852@candle.brasslantern.com> from Bart Schaefer at "Jul 12, 96 08:38:01 am" 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: <"SWksE3.0.oV3.YKdvn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1629 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu No, the manual is not wrong. Filename expansion is different from filename generation (which is also called globbing). Filename expansion is always performed on the right hand side of assignments and this behaviour is compatible with other shell and POSIX. GLOB_ASSIGN is not mentioned here and I not not think it should be mentined at all. It id documented in the zshoptions page but it is really a _very_ deprecated option and it will surely be removed sometime since it introduces unpredictable ambiguity into the assignment (when the glob result in one word, the variable is assigned as a scalar otherwise it is assigned as an array, which can cause mysterious problems). Zoltan