On 28/02/17 07:56 AM, Stephane Chazelas wrote:
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.So IMO the question should rather be: what got into David Korn's head to make its arrays start at 0?