zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu
Subject: Re: options glob_assign/magic_equal_subst
Date: Tue, 24 Sep 1996 17:34:46 +0200	[thread overview]
Message-ID: <199609241534.RAA00180@hydra.ifh.de> (raw)
In-Reply-To: "Geoff Wing"'s message of "Wed, 25 Sep 1996 01:01:21 MET." <199609241501.BAA03200@coral.primenet.com.au>

Geoff Wing wrote:
> Heyla,
>  is option "magic_equal_subst" now obsolete and renamed/replaced by 
>  "glob_assign" with a slightly different functionality and implementation? 
>  I was checking my old versions 2.5.0/2.5.03 and it didn't seem to work
>  there anyway!  Perhaps my understanding of it is insufficient.
>  Anyone care to give an example?

Perhaps the revised manual entry below makes it clearer.

*** Doc/zshoptions.man.ass	Thu Sep  5 22:11:07 1996
--- Doc/zshoptions.man	Tue Sep 24 17:31:04 1996
***************
*** 202,215 ****
  Perform filename generation.
  .TP
  \fBGLOB_ASSIGN\fP
! If this option is set, \fIfilename generation\fP is performed on the right
! hand side of parameter assignments. If the result has more than one words
! the parameter will become an array. This was the default behaviour in
! earlier versions of \fBzsh\fP but it is incompatible with \fBsh\fP and
! \fBksh\fP. Also it is not possible to tell in advance wheter the result
! will be a scalar or an array. This option is provided for backwards
! compatibility only. Globbing is always performed on the right hand side of
! \fIname\fB=( \fIvalue\fB )\fR array assignments regardless of this option.
  .TP
  \fBGLOB_COMPLETE\fP
  When the current word has a glob pattern, do not insert all the words
--- 202,217 ----
  Perform filename generation.
  .TP
  \fBGLOB_ASSIGN\fP
! If this option is set, \fIfilename generation\fP (globbing) is
! performed on the right hand side of scalar parameter assignments of
! the form \fIname\fB=\fIpattern\fB (e.g. `param=*'). If the result has
! more than one word the parameter will become an array with those words
! as arguments. This option is provided for backwards compatibility
! only: globbing is always performed on the right hand side of array
! assignments of the form `\fIname\fB=( \fIvalue\fB )\fR'
! (e.g. `param=(*)') and this form is recommended for clarity;  with this
! option set, it is not possible to predict whether the result will be
! an array or a scalar.
  .TP
  \fBGLOB_COMPLETE\fP
  When the current word has a glob pattern, do not insert all the words
***************
*** 327,336 ****
  List jobs in the long format by default.
  .TP
  \fBMAGIC_EQUAL_SUBST\fP
! All unquoted arguments of the from \fIidentifier\fB=\fIexpression\fR
! have file expansion performed on \fIexpression\fR as if it were a
! parameter assignment, although the argument is not otherwise treated
! specially.
  .TP
  \fBMAIL_WARNING\fP (\-\fBU\fP)
  Print a warning message if a mail file has been
--- 329,340 ----
  List jobs in the long format by default.
  .TP
  \fBMAGIC_EQUAL_SUBST\fP
! All unquoted arguments of the form \fIidentifier\fB=\fIexpression\fR
! appearing after the command name have filename expansion (that is,
! where \fIexpression\fR has a leading `~' or `=') performed on
! \fIexpression\fR as if it were a parameter assignment. The argument is
! not otherwise treated specially: in other words, it is subsequently
! treated as a single word, not as an assignment.
  .TP
  \fBMAIL_WARNING\fP (\-\fBU\fP)
  Print a warning message if a mail file has been


      reply	other threads:[~1996-09-24 15:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-24 15:01 Geoff Wing
1996-09-24 15:34 ` Peter Stephenson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199609241534.RAA00180@hydra.ifh.de \
    --to=pws@ifh.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).