Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Error in zsh.texi and zshexpn.man
- X-seq: zsh-workers 1629
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: schaefer@xxxxxxx
- Subject: Re: Error in zsh.texi and zshexpn.man
- Date: Fri, 12 Jul 1996 17:53:33 +0200 (MET DST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <960712083804.ZM14852@xxxxxxxxxxxxxxxxxxxxxxx> 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
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author