From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20366 invoked by alias); 28 Feb 2017 19:57:47 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22518 Received: (qmail 15719 invoked from network); 28 Feb 2017 19:57:47 -0000 X-Qmail-Scanner-Diagnostics: from mta02.eastlink.ca by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(24.224.136.13):SA:0(-0.7/5.0):. Processed in 0.668554 secs); 28 Feb 2017 19:57:47 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: rayandrews@eastlink.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.eastlink.ca designates 24.224.136.13 as permitted sender) X-Authority-Analysis: v=2.2 cv=DOfN2GFb c=1 sm=1 tr=0 a=agU91984gK4IhzCPvQq1rg==:117 a=agU91984gK4IhzCPvQq1rg==:17 a=N659UExz7-8A:10 a=-4PdO3g0V5Iz0FbQhgMA:9 a=pILNOxqGKmIA:10 X-EL-IP-NOAUTH: 24.207.24.62 Subject: Re: bash conversion trouble. To: zsh-users@zsh.org References: <004ec4f2-3b3a-8907-86a6-4326399783aa@eastlink.ca> <170224204153.ZM19840@torch.brasslantern.com> <6f722b8f-a712-985f-65e8-3b03a5b352c3@eastlink.ca> <170225075521.ZM22115@torch.brasslantern.com> <32f48d32-2b11-045e-5925-8f112783f1e2@eastlink.ca> <170225090218.ZM22334@torch.brasslantern.com> <20170228155601.GB16082@chaz.gmail.com> From: Ray Andrews Message-id: <587b4178-44f8-d933-7590-2ce46bffdba6@eastlink.ca> Date: Tue, 28 Feb 2017 11:27:36 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-version: 1.0 In-reply-to: <20170228155601.GB16082@chaz.gmail.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 28/02/17 07:56 AM, Stephane Chazelas wrote: > > So IMO the question should rather be: what got into David Korn's > head to make its arrays start at 0? > Thanks, so ksh and bash are the exceptions, but bash, being so ubiquitous, is now the de facto standard. As you say, there is the issue of convenience vs. (perhaps) the C-ish strictness of starting at zero, which is where computers start counting from. BTW I notice you are one of the stalwarts on stackexchange, that's appreciated. I love all this history stuff, it adds a certain color to the thing. Even dumb things are more endurable when you know how it got that way. >