Bash 3.0 Released
qazwsx789 writes "The first public release of bash-3.0 is now available via ftp and from the usual GNU mirror sites. For the official release notes by the author, Chet Ramey, check his usenet post."
← Back to Stories (view on slashdot.org)
Bash was my first shell and I used it exclusively for years. One day, I'd read enough about zsh to force myself to give it a try. Oh how I loved thee, bash, but I won't be going back.
Dewey, what part of this looks like authorities should be involved?
Hell, I didn't even know bash was still in active development. It was always just bash to me, not bash-x.y.z. But then I guess I wouldn't notice the difference, really.
Switch back to Slashdot's D1 system.
What are these, I wonder? Something along the lines of changing the prompt to always display [litigious@bastards]$, perhaps?
Real Daleks don't climb stairs - they level the building.
Someone tell me why I want this. The Usenet post doesn't seem to explain what's so exciting about it, besides a bunch of boring bug-fixes, and some esoteric-sounding syntax changes.
I don't need no instructions to know how to rock!!!!
Doesn't seem to be much changed given the version number increase. [[ =~ ]] can match regexes and it can do zsh style {1..3} expansions. Improved multibyte support too. There were bigger changes in some of the 2.0x updates.
It's nice to see yet more contributions from Apple to the OSS community.
Several bug fixes for POSIX compliance came in from Apple; their assistance is appreciated.
It looks like Apple is giving back to the community, and to a fundamental tool.
To the parent: I'm in the same boat. I thought bash 3?? What is there to add?? Looks like multibyte char support (sorry, I'm are a dum Amer'kin).
-truth
I had a steady B+ in my AI class until I failed the Turing test...
The Bourne Again and Again and Again Shell! Again!
I have discovered a truly marvelous
There's been an interesting little problem caused for people like Gentoo with the updates in bash 3.0.
http://bugs.gentoo.org/show_bug.cgi?id=58703
Just a simple move towards compliance breaks most of their scripts, so they've had to patch it out.
Lovely.
"How fine you look when dressed in rage."
Then I looked through the POSIX spec, and sure enough I found this section, which explained things:
POSIX section 23.4.18 (SHELL):
Everything else, I do in emacs...
Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
-truth
I had a steady B+ in my AI class until I failed the Turing test...
Bash can now store timestamps in the history and save them to the history file. This alone is worth the upgrade for me. The option to erase duplicates is pretty nice too.
Zenity lets you display Gtk+ dialog boxes from the command line and through shell scripts. It is similar to gdialog, but is intended to be saner. It comes from the same family as dialog, Xdialog, and cdialog, but it surpasses those projects by having a cooler name.
Zsh is still the best.
Bash developers have different priorities.
Bash became the default primarily because it is GNU.
Zsh has some ugly but powerful features like nested expansions. The two areas where bash is better than zsh is multibyte support and POSIX compliance. Much of that was contributed by IBM and Apple respectively. But if you use the shell a lot, you'll find zsh does a lot of things better. The completion is amazing. And when it isn't emulating sh/posix, it fixes some of the broken design decisions (like word splitting of variables) which saves you from doing stupid things.
The FSF actually does development in a very closed manner when it can (the gcc egcs split was partly because of this). Bash is a good example of this. That perhaps a good thing because it is probably good that bash doesn't get some of zsh's nasty (but powerful) features. And if zsh didn't exist, bash might have been forked by now. If you care about your shell, you'll find much more of a community on the zsh lists than the spam filled bug-bash list. You can't even get at alpha releases of bash without being one of the chosen few.
Guys, I'm really so excited about this. I ran around proclaiming the news about bash-3.0 in my department. Not too many people got excited (I work in Psychology) but check this out:
[user@mitral user]$ echo $BASH_VERSION
2.05a.0(1)-release
[user@mitral user]$ a | b |cat
bash: a: command not found
bash: b: command not found
[user@mitral user]$ echo $?
0
[user@mitral bash-3.0]$ echo $BASH_VERSION
3.00.0(1)-release
[user@mitral bash-3.0]$ set -o pipefail
[user@mitral bash-3.0]$ a | b |cat
bash: a: command not found
bash: b: command not found
[user@mitral bash-3.0]$ echo $?
127
Feel the love!
I know its hard to tell, even for people famaliar with rbash; but this is what passes for humor among unix geeks.