Re: Infinite loop and crash Linux via BASH command

2007-05-17 Thread Chet Ramey
> In this site http://www.istf.com.br/vb/showthread.php?t=11153 (pt_BR) > there is a command and an explanation of as this simple command : (){ > :|:& };: can crash the Linux completely. It would be interesting you > will correct this. The halting problem is still unsolved, as far as I know

Re: bash=~ bug or feature

2007-05-17 Thread Chet Ramey
> With bash 3.1.17(4)-release > # [[ "abcd" =~ "^a" ]]; echo $? > 0 > > With bash 3.2.17(3)-release > # [[ "abcd" =~ "^a" ]]; echo $? # is this a bug??? > 1 > # [[ "abcd" =~ ^a ]]; echo $? > 0 > > Is this a bug? It is the intended behavior. See question E14 in the latest bash FAQ (reproduced

Re: bash=~ bug or feature

2007-05-17 Thread Bob Proulx
Jeff Chua wrote: > With bash 3.1.17(4)-release > # [[ "abcd" =~ "^a" ]]; echo $? > 0 > > With bash 3.2.17(3)-release > # [[ "abcd" =~ "^a" ]]; echo $? # is this a bug??? > 1 > # [[ "abcd" =~ ^a ]]; echo $? > 0 > > Is this a bug? The behavior has been intentionally changed. Please see Bash FAQ

Re: Infinite loop and crash Linux via BASH command

2007-05-17 Thread Paul Jarc
[EMAIL PROTECTED] wrote: > I don't know by this means (perhaps anybody here with bigger > experiences to can explain us) this simple command creates a job in > background and in loop that quickly consome all the processing. Yes, because that's exactly what you're telling bash to do, if you run

Re: Infinite loop and crash Linux via BASH command

2007-05-17 Thread Bob Proulx
[EMAIL PROTECTED] wrote: > In this site http://www.istf.com.br/vb/showthread.php?t=11153 (pt_BR) > there is a command and an explanation of as this simple command : (){ > :|:& };: can crash the Linux completely. It would be interesting you > will correct this. You are reporting what is well

Infinite loop and crash Linux via BASH command

2007-05-17 Thread vcputtini
In this site http://www.istf.com.br/vb/showthread.php?t=11153 (pt_BR) there is a command and an explanation of as this simple command : (){ :|:& };: can crash the Linux completely. It would be interesting you will correct this. I don't know by this means (perhaps anybody here with bigger

"wait" builtin with argument stucks and eats 100% CPU after 4096th call

2007-05-17 Thread osicka
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='ba

bash=~ bug or feature

2007-05-17 Thread Jeff Chua
With bash 3.1.17(4)-release # [[ "abcd" =~ "^a" ]]; echo $? 0 With bash 3.2.17(3)-release # [[ "abcd" =~ "^a" ]]; echo $? # is this a bug??? 1 # [[ "abcd" =~ ^a ]]; echo $? 0 Is this a bug? Thanks, Jeff. ___ Bug-bash mailing list Bug-bash@gnu