Bash 5.0 released...

Hi all...

Bash-5.0 release available

Still no floating point however...

2 Likes

check out bc or dc

Hi dodona...

OT:
What can bc and dc do that awk can't?

Heck, Corona688 has recently done a DFT script in awk and I have also done one in pure ksh.
Can bc or dc do that?
As awk does any floating point that I require then this is what I use in bash.
(Plus a couple of years ago CygWin had neither bc nor dc but it has awk and bash as its default shell.)

Floating point is useful and ksh and zsh has had the facility for years, why not bash too?

There's only so much you can change a Bourne shell before it stops being Bourne. BASH is (though this is occasionally disputed) compatible enough to remain a good vanilla /bin/sh at need, but system scripts might misbehave if /bin/sh linked ksh instead. Or might not. Depends if they use any features where Bourne and KSH radically differ.