BASH 4.0 Released 459
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."
This is excellent news (Score:5, Funny)
Perhaps this year, Linux will be ready for the desktop.
Re:csh syntax mode? (Score:5, Funny)
patience (Score:5, Funny)
i'll wait for 4.2
Circular what? (Score:3, Funny)
Bugs (Score:3, Funny)
The new major release fixes several remaining bugs in the 3.x releases
That's great, but they forgot to mention how many new bugs were introduced.
Re:Linux (Score:5, Funny)
Still gay.
Don't bash it dude.
My Dr. Seuss observation... (Score:5, Funny)
So now I can make a BASH hash, sweet!
Re:Circular what? (Score:5, Funny)
stay away from kernel.org then.
Screenshots? (Score:5, Funny)
Does anyone have any screenshots? I always hate that when they post some great new upgrade without any screenshots.
Note for sysadmins (Score:5, Funny)
With your production boxes, it's generally recommended that you wait for Bash 4.0 SP1 before deploying.
Re:patience (Score:3, Funny)
Re:Screenshots? (Score:5, Funny)
$
#
Re:This is excellent news (Score:5, Funny)
No, but it'll be ready for the year of the commandline (comes right after year of the hippo).
Re:Screenshots? (Score:5, Funny)
Here you go..
[root@localhost ~]#
Re:csh syntax mode? (Score:5, Funny)
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!
After bootstrapping... (Score:3, Funny)
After bootstrapping the new compiler with the old compiler, you can then use your new compiler to compile the new compiler code.
If this bothers you, stay away from recursion [wikipedia.org]!
Re:Circular what? (Score:5, Funny)
Sup dawg, I heard you liked compiling, so I put a compiler in your compiler so you can compile while you compile.
Re:Zsh has had these features for years (Score:3, Funny)
Re:This is excellent news (Score:4, Funny)
So... when can we expect the year of the L(inux)user?
Re:Zsh has had these features for years (Score:5, Funny)
Excellent post. I look forward to the ensuing flame war.
Re:Circular what? (Score:5, Funny)
Re:looks like it still loses history (Score:3, Funny)
BASH doesn't like it when you anthropomorphize it. ;-)
Re:Screenshots? (Score:5, Funny)
I was really hoping someone would post a picture of a half-rotated Compiz cube with a bash shell running transparently on it.
Re:Screenshots? (Score:5, Funny)
Anyone have a high-res screen shot? My fonts are raster based. :-(
Re:looks like it still loses history (Score:1, Funny)
Wait a minute, you just said BASH doesn't like it when you anthropomorphize it.
We'll never get out of this one you know...
Re:Bourne Shell (Score:3, Funny)
Tru64. That's three off the top of my head.
What, three users or three installed servers?
Tru64 has been abandonware for four long years and will have no commercial support in only three years.
To quote the great wikipedia:
In December 2004, HP announced a change of plan; they would instead use the Veritas file system and abandon the Tru64 advanced features. In the process, many of the remaining Tru64 developers were laid off.[8]
In July 2007, HP stated that they would continue to support Tru64 UNIX until at least 2012.
You'd get more support by complaining that VMS, MVS/370, and TRS-DOS 1.3 don't come with BASH.
Re:Zsh has had these features for years (Score:5, Funny)
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?
Re:Circular what? (Score:5, Funny)
Re:looks like it still loses history (Score:1, Funny)
Vroaam.
Ant-style ** globbing (Score:5, Funny)
Instead of rm -rf /, we can now just say
rm -f /**
Now that's an improvement!
Re:Circular what? (Score:3, Funny)
Re:My Dr. Seuss observation... (Score:3, Funny)
I've been making a hash of BASH for years! Just ask the folks who review my code!
Re:something resembling homepage (Score:5, Funny)
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!
Re:patience (Score:5, Funny)
Give me a K..DE!
You tried to say 'KDE' but there was a lag before it completed... Just like true KDE4!
*Runs away*
Re:Circular what? (Score:5, Funny)
EGCS, duh.
Yes!!! (Score:5, Funny)
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.
Re:And? (Score:3, Funny)
What's the point? It's worthless on my multi-touch screen. Only crusted headed, unbathed, girlfriendless uber geeks need to use the CLI.CLI's are so 1940's Get with the times you gezzers.
Hey, I am not an "uber"!
Re:Ant-style ** globbing (Score:3, Funny)
Ah! A command-line neutron bomb?
I am sure Linux is ready for the desktop now.
Re:patience (Score:3, Funny)
Uh ... wait a sec ...
Re:This is excellent news (Score:3, Funny)
Re:true... (Score:4, Funny)
Use i.e. as a stand-in for "that is."
I prefer to use Firefox.
Re:Screenshots? (Score:4, Funny)
http://imagebin.ca/view/M6HnUiBp.html [imagebin.ca]
You betchya.
Re:Screenshots? (Score:2, Funny)
--
:(){ :|:& };: Go!
Does your sig still work? I heard they fixed that. You should try it.
Re:Ant-style ** globbing (Score:5, Funny)
Re:This is excellent news (Score:3, Funny)
Fixed it for you...
Re:After bootstrapping... (Score:2, Funny)
To learn recursion you must first learn recursion.
Re:csh syntax mode? (Score:5, Funny)
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?
Re:So? (Score:3, Funny)
Gentoo uses bash for their init scripts citing reasons of speed.
Weird, because Debian moving away from bash to dash for exactly the same reasons.
Like the way Red Hat uses nash?
Or the way Microsoft uses cash?
I apologize, but I saw the opening and had to take the shot.