You are not logged in.

#1 2009-02-24 07:44:30

lardon
Member
Registered: 2008-05-31
Posts: 268

Bash 4.0 is out!

Bash 4 is out, with a lot of new features... So when will we get it in Arch? I suppose changing the bash version can cause quite a lot of problems, since a lot of arch depends on it...

Edit: link : http://www.mail-archive.com/cygwin@cygw … 94439.html

Last edited by lardon (2009-02-24 07:44:46)

Offline

#2 2009-02-24 07:48:29

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Bash 4.0 is out!

No way! feels good man.

Offline

#3 2009-02-24 07:53:36

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,650
Website

Re: Bash 4.0 is out!

lardon wrote:

So when will we get it in Arch?

Have a read of arch-dev-public.  Aaron has already started the rebuilds for bash and readline.

Offline

#4 2009-02-24 09:37:36

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: Bash 4.0 is out!

Wow!!! yikes autocd and ** wildcard and programmable completion.

I'm wondering if there are still reasons to switch to zsh now that we have these features also in bash.

Offline

#5 2009-02-24 10:04:43

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Bash 4.0 is out!

Bash had programmable completion before too..


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#6 2009-02-24 10:37:32

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: Bash 4.0 is out!

dolby wrote:

Bash had programmable completion before too..

Yes...but was it official? I mean in the bash code trunk.


_________________________________________________________________________________________

EDIT: Yes it was from the 2.04beta version...sorry.

I misunderstood bash-completion package that should be a sort of extension of bash completion capabilities.

_________________________________________________________________________________________

Last edited by ArchArael (2009-02-24 10:58:24)

Offline

#7 2009-02-25 17:25:25

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: Bash 4.0 is out!

ArchArael wrote:

Wow!!! yikes autocd and ** wildcard and programmable completion.

I'm wondering if there are still reasons to switch to zsh now that we have these features also in bash.

Besides the ones listed above, there are associative arrays on zsh and now they're on bash, too. smile But can bash do float arithmetic? Last time I've tried, it couldn't.

Anyway, I'm not going to change back, I have zsh nicely configured here.


(lambda ())

Offline

#8 2009-02-26 09:07:17

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: Bash 4.0 is out!

andre.ramaciotti wrote:
ArchArael wrote:

Wow!!! yikes autocd and ** wildcard and programmable completion.

I'm wondering if there are still reasons to switch to zsh now that we have these features also in bash.

Besides the ones listed above, there are associative arrays on zsh and now they're on bash, too. smile But can bash do float arithmetic? Last time I've tried, it couldn't.

Anyway, I'm not going to change back, I have zsh nicely configured here.

You are right. But, I was talking about bash users that are thinking to switch to zsh. I think that the gap now is a little bit thinner than before. By the way, for my scripting purposes I never needed float arithmetic and if I needed it I would pick some external program. I like the unix idea of combining programs that do well just one task they are made for. I hope indeed that bash will always focus on simplifying the user interaction without trying to do things the external programs can/could do better.

By the way...I don't think that any hardcore zsh user will chose bash 4.0 over zsh. Bash doesn't offer any particular feature zsh doesn't have.

Last edited by ArchArael (2009-02-26 09:13:47)

Offline

#9 2009-02-26 09:14:33

lardon
Member
Registered: 2008-05-31
Posts: 268

Re: Bash 4.0 is out!

ArchArael wrote:

I like the unix idea of combining programs that do well just one task they are made for. I hope indeed that bash will always focus on simplifying the user interaction without trying to do things the external programs can/could do better.

That's basically what I don't like about zsh: they try to do everything inside the shell. I prefer a modularized system, where small utilities compete for user mindshare.

Offline

#10 2009-02-26 10:32:15

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: Bash 4.0 is out!

Link to the arch-dev-public archives:
http://www.archlinux.org/pipermail/arch … 10357.html

Jus browse through the replies, it looks promising smile


Arch i686 on Phenom X4 | GTX760

Offline

#11 2009-02-26 10:59:26

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: Bash 4.0 is out!

stefanwilkens wrote:

Link to the arch-dev-public archives:
http://www.archlinux.org/pipermail/arch … 10357.html

Jus browse through the replies, it looks promising smile

Here is the list of packages have to be rebuilt due to readline 6.0 upgrade: http://phraktured.net/readline-rebuilds

As I mainly interact with my system through bash I hope bash 4.0 / readline 6.0 will be stable enough to remain just a little in testing.

Offline

#12 2009-02-28 19:26:24

LTSmash
Member
From: Aguascalientes - Mexico
Registered: 2008-01-02
Posts: 348
Website

Re: Bash 4.0 is out!

Hmm...

Havent syu'ed for a week, and was thinking of doing this today, but since there's gonna be kinda massive rebuilds, I'll just wait 'till this goes to core :S


Proud Ex-Arch user.
Still an ArchLinux lover though.

Currently on Kubuntu 9.10

Offline

#13 2009-03-01 04:03:27

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Bash 4.0 is out!

andre.ramaciotti wrote:

there are associative arrays on zsh

not that i know if this is the same(15 second read of wikipedia says it is) but bash has "always"(ok so i don't know when they got it, but atleast before 4.0 since i'm not running 4.0)  had associative arrays. that is

$ moo[1]=$(echo hello)
$ echo ${moo[1]}
hello

KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#14 2009-03-01 12:16:28

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: Bash 4.0 is out!

In associative arrays you use keys instead of numbers to access the values, so...

% typeset -A hash
% hash=(one hello two world)
% print $hash[one]
hello
% print $hash[two]
world

I've never really used it, though...


(lambda ())

Offline

#15 2009-03-01 20:30:01

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Bash 4.0 is out!

deleted.

Last edited by test1000 (2009-03-01 20:30:59)


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#16 2009-04-25 22:55:21

nfm
Member
Registered: 2008-06-13
Posts: 66

Re: Bash 4.0 is out!

Any news on 4.0 coming to core? There hasn't been much of discussion lately.

Offline

#17 2009-04-26 17:01:58

lilith2k3
Member
From: Osnabrueck
Registered: 2008-09-01
Posts: 25

Re: Bash 4.0 is out!

Or any reason why it isn't coming (besides the usual "when it's ready it'll come) ...?

Offline

#18 2009-04-26 17:08:13

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,650
Website

Re: Bash 4.0 is out!

There was a bug that caused mkinitcpio to fail (nice way to break your system...) so we were waiting on a patch to come out.  Things look better now so hopefully Aaron can push the rebuilds soon.

Offline

#19 2009-04-27 20:51:05

dsr
Member
Registered: 2008-05-31
Posts: 187

Re: Bash 4.0 is out!

Associative arrays, yay! It took 16 years, but bash has finally caught up to korn...

Offline

#20 2009-05-10 19:47:22

bdheeman
Member
From: Chandigarh, PB, India
Registered: 2008-09-15
Posts: 10
Website

Re: Bash 4.0 is out!

I started using bash-4.0.10 on March 9, 2009 for ArchLinux machine after seeing it working fine on my FreeBSD machines, updated to bash-4.0.17 on May 7, 2009 again.

Although I have not tested it thoroughly, but seems it is working fine on ArchLinux also.


Balwinder S Dheeman
http://werc.homelinux.net/

Offline

#21 2009-05-26 10:00:59

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: Bash 4.0 is out!

Allan wrote:

There was a bug that caused mkinitcpio to fail (nice way to break your system...) so we were waiting on a patch to come out.  Things look better now so hopefully Aaron can push the rebuilds soon.

Any news so far?

Offline

#22 2009-05-26 10:17:27

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,650
Website

Re: Bash 4.0 is out!

Hmmm.... completely slipped of my radar.  I will try and chase it up.

Offline

#23 2009-07-02 07:57:47

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: Bash 4.0 is out!

BASH 4.0 ---> CORE REPO

Yay!!! Thank you all, guys.

^__________________^

Offline

#24 2009-07-02 08:29:13

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: Bash 4.0 is out!

How did you build bash properly? I always had the problem with readline. I first compiled and installed readline, and all of a sudden, woops, bash couldn't find readline lib, so bash was rendered useless (couldn't build bash tongue)

Offline

#25 2009-07-02 08:30:55

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Bash 4.0 is out!

maybe by rebuilding bash without closing the shell between installing readline? tongue


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB