> 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
> 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
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
[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
[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
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
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
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