I would have had a use case for something like this but compiling to portable POSIX sh instead of bash about 15-ish years ago when I was still writing scripts that needed to run on many different flavors of commercial UNIX.
Indeed, the most commentators at HackerNews seems to have no idea what they are talking about, including those who replied to my comment. Bash is the most popular in Linux, and while I’ve been into it for almost 20 years now, I do still like it for its straightforward flow, C-like and fairly adequate syntax, and even undisclosed features like the use of read built-in to fill an array automatically.
I would ask them in return if HackerNews would have proper notifications to monitor for the answer after, for example:
- How would do you get the current script file path in Bash safely?
Then, I do believe that just a few would respond at least something remotely appropriate.
And I am also sure that Amber won’t produce a proper output, too.
I would have had a use case for something like this but compiling to portable POSIX sh instead of bash about 15-ish years ago when I was still writing scripts that needed to run on many different flavors of commercial UNIX.
Only bash makes it much less useful to me.
Indeed, the most commentators at HackerNews seems to have no idea what they are talking about, including those who replied to my comment. Bash is the most popular in Linux, and while I’ve been into it for almost 20 years now, I do still like it for its straightforward flow, C-like and fairly adequate syntax, and even undisclosed features like the use of
readbuilt-in to fill an array automatically.I would ask them in return if HackerNews would have proper notifications to monitor for the answer after, for example:
- How would do you get the current script file path in Bash safely?
Then, I do believe that just a few would respond at least something remotely appropriate.
And I am also sure that Amber won’t produce a proper output, too.