zsh-workers
 help / color / mirror / code / Atom feed
From: Achim Braemer <braemer@doc.physi.uni-heidelberg.de>
To: zsh-workers@math.gatech.edu
Subject: [[ as token
Date: Mon, 29 Jul 96 23:40:26 +0200	[thread overview]
Message-ID: <9607292140.AA29001@doc.physi.uni-heidelberg.de> (raw)


While not beeing active on the developement myself, and not knowing
about the intricacies of implementation, I do have a pretty strong
oppinion about the decision taken so abruptly in 3.0-pre4 to treat `[['
as a token that has to be surrounded by IFS.

The change broke some of my scripts that were using (maybe erroneously)
constructs like `if [[-x zsh ]]; then'. I am quite sure I happens to a
_lot_ of people. So I think the change will not be popular among
just-users like myself, especially since there is just no syntactic
reason why `[[' has to be surrounded by IFS.

So if this change is to be made there should be the possibility to
switch it off with an option. 

This would be a good idea anyway, because when zsh is invoked as ksh or
sh, parsing should be as close to these shells as possible, and scripts
should be enforced to be valid also under ksh or sh.

I am quite concerned that acceptance for the new release will be low if
it crashes very many existing scripts, whatever the good reason may be.
After all, we chose zsh because it is just so much _smarter_ than all
other shells...

-- Achim --


------------------------------------------------------------------------
 Achim Braemer              braemer@doc.physi.uni-heidelberg.de
 Physikalisches Institut    http://doc.physi.uni-heidelberg.de/~braemer
 Philosophenweg 12          Telephone: 06221 / 549370  Fax: 475733
 D-69120 Heidelberg         From DESY dial direct 6-207-9370
------------------------------------------------------------------------


             reply	other threads:[~1996-07-29 21:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-29 21:40 Achim Braemer [this message]
1996-07-30  0:36 ` Wayne Davison
1996-07-30  1:22 ` Achim Braemer

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=9607292140.AA29001@doc.physi.uni-heidelberg.de \
    --to=braemer@doc.physi.uni-heidelberg.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).