News for hackers. Stuff that matters.
Re:I interviewed Brian J. Fox, the creator of Bash by nexuist on Thursday September 02, 2021 @01:27PM (#28394852)
Why would you be surprised? Out of nearly a decade of using Bash on Linux I don't think I have ever run into a bash bug or issue. There's been bugs with utilities like sudo of course, but those aren't Bash.
Re:I interviewed Brian J. Fox, the creator of Bash by bmoyles on Thursday September 02, 2021 @06:04PM (#28397957)
It happens... I can think of a couple that bit me in the last 5 years or so. Some of them felt like bugs but were flagged as new features in later releases like this one from 4.4... spent way too long trying to figure out why this worked under 4.4 but not 4.3 and didn't even consider a bug, let alone a feature at the time. I was convinced it was something I did wrong :P

"a. Using ${a[@]} or ${a[*]} with an array without any assigned elements when the nounset option is enabled no longer throws an unbound variable error."

Re:I interviewed Brian J. Fox, the creator of Bash by chasil on Thursday September 02, 2021 @02:31PM (#28395617)
From the anguish of those who try to implement the POSIX shell, I understand that edge cases are far from difficult to find. The Almquist shell (Debian Dash) is cited for not using lex/yacc to implement the parser, and described as untrustworthy.

https://archive.fosdem.org/2018/schedule/event/code_parsing_...

A major goal of this later ADA implementation is readability, in addition to (Windows) performance and ADA's safety.

https://archive.fosdem.org/2019/schedule/event/ada_shell/

Re:I interviewed Brian J. Fox, the creator of Bash by qiqitori on Friday September 03, 2021 @12:25AM (#28400394)
Not sure if this counts as "running into an issue", but this bash issue is pretty famous: https://en.wikipedia.org/wiki/Shellshock_(software_bug)
Re:I interviewed Brian J. Fox, the creator of Bash by pabs3 on Friday September 03, 2021 @12:15AM (#28400350)
There are design flaws and edge cases in bash though, lots of them come up when trying to automatically show the exit code of the last command and when trying to automatically show whether or not the output of the last command ended in a line ending character.
Re:I interviewed Brian J. Fox, the creator of Bash by SavantIdiot on Thursday September 02, 2021 @02:43PM (#28395766)
"I don't think I have ever run into a bash bug or issue."

That is not a statement about a formally verifiable program that I would base a billion-dollar program on.

Re:I interviewed Brian J. Fox, the creator of Bash by count on Thursday September 02, 2021 @05:42PM (#28397739)
Formally verified programs often still have bugs. AWS S2N, for example, currently has hundreds of open issues and identified bugs, despite being the subject of a continuous formal verification program.

Bash powers probably hundreds of billions of dollars worth of critical infrastructure...

Re:I interviewed Brian J. Fox, the creator of Bash by pabs3 on Friday September 03, 2021 @12:17AM (#28400366)
There are attempts at formal analysis of shell scripts, for eg:

https://colis.irif.fr/ https://github.com/colis-anr/morbig

Re:I interviewed Brian J. Fox, the creator of Bash by nexuist on Friday September 03, 2021 @12:35PM (#28406391)
My point being that whatever other software runs on this thing is far more likely to contain hidden bugs than bash has given its age and widespread distribution. It seems weird to single out bash as opposed to the hundreds of other random packages on any given distro.
Re:I interviewed Brian J. Fox, the creator of Bash by varjag on Thursday September 02, 2021 @03:26PM (#28396254)
Ariane 5 bug was formally verified.
Re:I interviewed Brian J. Fox, the creator of Bash by sigzero on Thursday September 02, 2021 @04:45PM (#28397129)
No it really wasn't.