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)
...a GTK front end
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...
Why use a middleman when you have access to the source?
Meh.
They should have called the movie Bourne Again.
The Bourne Again and Again and Again Shell! Again!
I have discovered a truly marvelous
Yeah, Bash 3.0 is great and all, but when are the bash people going to upgrade rbash? Man, I can't do anything with that shell!
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."
Ha ha, you dorks, use MSH like a man!
:-o
I wonder how this will get modded?
Beware: In C++, your friends can see your privates!
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.
What is so hot about bash, e.g. compared to zsh?
Seriously, I'm not trying to start a flame war here. This is coming from a really long term zsh user because back when I was just starting unix and linux a fellow bearded unix guru told me something along the lines "go with zsh, it's the best" (thas was about -95). And I've never looked back, but now seing bash being the default shell in most distros I've began to wonder what's going on. Perhaps over the years bash overtook zsh or there are some hidden qualities in bash that I don't know about.
Anyone with some insight on _both_ shells would be greatly appreciated.
1 Earth is warming, 2 It's us, 3 it's royally bad, 4 we need to take action NOW
Gentoo's various scripts rely on the fact that /bin/sh is usually symlinked to /bin/bash. With 3.0, when invoked as /bin/sh, bash behaves as it should for the first time, which caused some problems. (which are now fixed, by the way)
-truth
I had a steady B+ in my AI class until I failed the Turing test...
I read the announcement and it mentions "History traversal with arrow keys", but what I would really like doesn't seem to be mentioned (but perhaps it is possible with bash-2.05, I'm not much of a shell expert). In Matlab, the up-arrow key searches the history for commands that match all the characters on the line. No characters and it acts like a normal bash arrow, if "figure, plot" is at the beginning of the line, it will quickly scroll through all plotting commands that have been entered at the shell.
Any idea if this is possible?
Dara Parsavand
Bash is a portable tool that existed long before Linux did. It is not specific or particular to Linux. So why in the world does this get posted under the category of Linux ?
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.
"Ignorance more frequently begets confidence than does knowledge"
- Charles Darwin
The same can happen using the shell.
When you run a binary from the shell are you ever sure what files it's accessing?
If you log it, sure -- but there are tools to do that in the GUI, too.
"Would it kill you to put down the toilet seat?" -- Maya Angelou
You like using a GUI and I like using a terminal. We're two people with two preferred methods of interacting with our machines. Your way is superior - for you. My way is superior - for me. There is no point (or obligation) to argue about which is better, since "better" is not a well-ordered set in this case.
Dewey, what part of this looks like authorities should be involved?
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!
timestamped history sounds like a useful auditing feature....
...Bush 3.0. I was wondering why the last two incarnations of your US president were so god-awful. ;)
No, bash 3.0 is not compliant with RFC 2324.
My post started with +2 (cause I are 1337). Then I got an "Interesting", two "Overrated"s, a "Funny", and most recently a "Flamebait".
Come on, mods: can I have an "Insightful" and an "Underrated", too?
Dewey, what part of this looks like authorities should be involved?
The plan was to introduce new features in sub-versions like
As opposed to most open source software, which releases x.0 as soon as it compiles, and only then starts working out the stability bugs.
You cannot apply a technological solution to a sociological problem. (Edwards' Law)
But what if I want to do:You gonna write a custom GUI app for everything? The nice thing about the command line is that it's "language oriented" rather than "picture oriented." Rather than pointing at what I want and clicking, I tell the computer what I want using a language.
It's the same reason we don't code with a point & click interface (save for VB, but the point and click still only got you so far).
"Ignorance more frequently begets confidence than does knowledge"
- Charles Darwin
Please explain to me what precludes a GUI from offering an advanced search tool, in which you can open up a property info dialog for the results and do bulk permission/property changes for. (Hint: nothing stops this from happening.)
What you will end up with is a huge dialog with all kinds of checkboxes and text fields for the same things the command has. Making it more irritating and slower for the purpose of turning it into a shiny GUI, no thanks.
Even if you somehow make a magically really useful GUI widget that makes me enter all the necessary information in a completely natural and quick way and achieve perfection, I cannot believe you can do that automatically for every command ever. Which means there'll be a neat widget for some commands, and the command line for the rest.
That way lies hell. We have a perfectly good command line, thank you. If you want to make GUI frontends, perfectly fine, but don't expect us to use them.
I believe posters are recognized by their sig. So I made one.
Seems like an odd word to use to describe free software. Try not to lip-sync to the jargon, dude.
The "cue the foo posts in 3, 2, 1..." posts will commence with no subsequent foo posts in 3, 2, 1...
I know its hard to tell, even for people famaliar with rbash; but this is what passes for humor among unix geeks.
You're speaking in half-truths.
The top catagory for this story is Announcements. It is also listed under the following catagories: GNU, Operating Systems, Unix, and lastly Linux.