"Superior strength" is probably just a matter taste, however I would really like to read your explanation on why you think so.
"Superior strength" is probably just a matter taste, however I would really like to read your explanation on why you think so.
Some reasons why POSIX shells are great:
- they are part of POSIX (a Standard which is implemented by multiple OS) and therefore often available
- you can use them to compose programs written in different languages
- you can easily connect the output of one program with the input of another (pipes)
> they are part of POSIX (a Standard which is implemented by multiple OS) and therefore often available
That's not an intrinsic property of Bash.
> - you can use them to compose programs written in different languages
> - you can easily connect the output of one program with the input of another (pipes)
This last point subsumes the previous one. So basically, you're saying Bash is great because it's a shell?
myFunc() { (
#...
) }
So in this case I don't think it makes sense to make a distinction between the two. In essence, I think Bash and the other POSIX shells share most of their greatest strengths and weaknesses.1. Return values of subshells 2. Clean design 3. being a "real" programming language
The only Bash specific part was
> You should stop using Bashisms and subtle, obscure language features unless you absolutely have to.
But in fact, the usage of subshells to limit the scope and subshell return values have nothing to do with Bashisms.