Hello.
I'm only starting to know about shell scripting, but I was totally surprised and disappointed when I've discovered there are no really comfortable tools in bash that are present in any programming language. I mean, if you already know the basics of some programming language, in most cases you will easily understand the same basics in other PL, you just need to get used to the new syntax. And bash just exploded my brains with its logic. I know it's not a PL, but since a shell do the same tasks when it comes to using basic features in scripting, I expected it will be relatively the same. The simpliest task of creating nested arrays in bash requires this (!!!). How one can even script with comfort with such a tool? I understand, it was created lightweight to do simple tasks, but if it has arrays, why shouldn't it have nested arrays? I can't even imagine, why create basic features that are so hard in use that they would better not exist in a shell at all. If a shell must be lightweight and thus cannot be usable for comfortable scripting, let's leave it alone for non-scripting tasks - otherwise, there is no point in creating a tool for comfortable scripting if it's known from the start that the scripting will not be comfortable.
So... does anybody know a shell that is more predictable and less... â– â– â– â– â– â– â– â– â–
-like? A structured, logical, clear tool that is working for you, not the opposite.