From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [128.61.1.1]) by werple.mira.net.au (8.6.10/8.6.9) with SMTP id CAA05165 for ; Tue, 23 May 1995 02:59:36 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA07491 (5.65c/Gatech-10.0-IDA for ); Mon, 22 May 1995 12:54:58 -0400 Received: by math (5.x/SMI-SVR4) id AA01355; Mon, 22 May 1995 12:52:17 -0400 Resent-Date: Mon, 22 May 1995 12:51:06 -0400 Old-Return-Path: Message-Id: <9505221651.AA23094@redwood.skiles.gatech.edu> X-Mailer: exmh version 1.5.3 12/28/94 To: zsh-workers@math.gatech.edu Subject: intepreting octal and globbing breakage In-Reply-To: Your message of "Sat, 20 May 1995 11:55:01 MDT." <9505201755.AA25392@bjerknes> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 22 May 1995 12:51:06 -0400 From: Richard Coleman Resent-Message-Id: <"bse1v.0.5L.05Cml"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/17 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > RC> I've made a test release zsh-2.6-beta9-test2.tar.gz > RC> and put it in the testing directory of the archive. > RC> I've been sorta busy this week so I haven't finished > RC> a lot of the things I want to do before I release the > RC> next beta. So I want to work on it for another week > RC> or so before I make a real beta release. > > Are you going to address the zstrtol/strtol lossage in this beta? > It's responsible for breaking brace and numeric range globbing: > In this case, can't we just go back to using zstrtol like in the old days? > At least it works. That's one of the reasons I just made a test release rather than the real thing. I'll probably have to go back using zstrtol. That would also make it easy to fix it so that numbers beginning with '0' are not interpreted as octal. I sorta hate to do this, since then zstrtol would be even more incompatible with the standard strtol. I also hate the idea of interpreting 0xff has hex, but not interpreting 010 as octal. I also hate the idea of adding (yet another) option to control this. What does ksh and bash do? I'm inclined to go with the principle of least surprise and make this compatible with however the other shells handle this. At any rate, I'll try to fix the globbing breakage before I release beta9. rc zsh@math.gatech.edu