BASH 4.0 Released
An anonymous reader writes "The widely used Bourne-Again Shell (BASH) version 4.0 is out. The new major release fixes several remaining bugs in the 3.x releases, and introduces a bunch of new features. The most notable new features are associative arrays, improvements to the programmable completion functionality, case-modifying word expansions, co-processes, support for the `**' special glob pattern, and additions to the shell syntax and redirections. The shell has been changed to be more rigorous about parsing commands inside command substitutions, fixing one piece of POSIX non-compliance. Most of us will probably wait for the distros to test the new version and upgrade gradually, but you always have the option of grabbing the source and compiling it yourself. Enjoy."
Perhaps this year, Linux will be ready for the desktop.
Already there. Just type 'csh' and bash will enter csh-compatibility mode. For scripting, just replace your #!/bin/bash with #!/bin/csh and away you go.
sig: sauer
i'll wait for 4.2
Still gay.
Don't bash it dude.
So now I can make a BASH hash, sweet!
"Murphy was an optimist" - O'Toole's commentary on Murphy's Law
stay away from kernel.org then.
"Knowledge is the only instrument of production that is not subject to diminishing returns" -Journal of Political Econom
Does anyone have any screenshots? I always hate that when they post some great new upgrade without any screenshots.
More
With your production boxes, it's generally recommended that you wait for Bash 4.0 SP1 before deploying.
#DeleteChrome
This is great, but I find the csh syntax easier to use from the command line (however unsafe it is to use in scripts). Will they add a csh compatability mode to bash?
ln -s /bin/false /bin/csh
99% of the functionality of csh, without the bugs!
Sup dawg, I heard you liked compiling, so I put a compiler in your compiler so you can compile while you compile.
Give me Classic Slashdot or give me death!
Please, no more GNU bashing.
Excellent post. I look forward to the ensuing flame war.
Give me Classic Slashdot or give me death!
Your mom?
-- I was raised on the command line, bitch
I also found the vi mode in zsh to be inferior to the equivalent in bash last time I tried it, but maybe it's improved since then.
That's because Emacs's bindings are far more logical than Vi's, especially when running on FreeBSD instead of Linux. Oh, and indent with spaces.
Did I miss anything?
Dewey, what part of this looks like authorities should be involved?
Visual Studio 2008?
Instead of rm -rf /, we can now just say
rm -f /**
Now that's an improvement!
æeee!
Are you smoking something? This is a GNU project. The "web page" is actually a facade to appease the unenlightened. Here is a Web 1.0 concept mapping for you:
news page -> "announce" mailing list
wiki -> "user" mailing list, documentation
developer forum -> "dev" mailing list
release notes -> in the tarball!
Those who would give up liberty to obtain working drivers, deserve neither liberty nor working drivers.
EGCS, duh.
This is definitely the turning point; the Register just last week published an article indicating that the one thing stopping most users from migrating from Windows was the lack of support for the `**' special glob pattern.
Use i.e. as a stand-in for "that is."
I prefer to use Firefox.
The creator of this post (Jacob Smith) hereby releases it, and all of his other posts, into the public domain.
WHOOOSH
I was following this discussion of bash, sh, csh and tcsh perfectly well, but now I'm lost. What shell are you talking about?