Re:Bash functions are better than I thought
by fstrthnscnd on Tuesday November 02, 2021 @07:34PM
(#29089001)
But, wasn't the original argument discussing the merits of Bash as a shell? So you're saying that Bash is great as a shell because it's a shell?
[ Parent
| on HN ]
Re:Bash functions are better than I thought
by arendtio on Thursday November 04, 2021 @01:29PM
(#29110072)
My understanding was, that the initial argument was about Bash as a programming language and most aspects discussed were aspects were Bash is no different than POSIX:
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.