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 coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id HAA01858 for ; Tue, 30 Jul 1996 07:49:22 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id RAA01633; Mon, 29 Jul 1996 17:41:35 -0400 (EDT) Resent-Date: Mon, 29 Jul 1996 17:41:35 -0400 (EDT) Date: Mon, 29 Jul 96 23:40:26 +0200 Message-Id: <9607292140.AA29001@doc.physi.uni-heidelberg.de> From: Achim Braemer To: zsh-workers@math.gatech.edu Subject: [[ as token Resent-Message-ID: <"s_NUO1.0.RP.F0J_n"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1830 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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 ------------------------------------------------------------------------