On Dec 10, 2006, at 11:27 AM, Martin Ebourne wrote:
I've scripted quite a lot in zsh (and ksh, sh, bash) and I agree with
the zsh guys on that one. Just sometimes everyone else really is wrong.

It doesn't matter if they are or not.

Unless you have arrays in the shell, which they didn't when this behavior was devices in /bin/sh, there's really no alternative, so the right behavior was never an option. And if you're writing an interpreter for a scripting language you need to implement the language that you're writing an interpreter for.

I mean, if you're going to break compatibility completely, you might as well fix the rest of the screwups at the same time.

Starting with "do..done" versus "if..fi" and working up.

Reply via email to