Bug#299928: bash: negative exit status are buggy

2005-09-11 Thread matthieu castet
Hi Matthias, Matthias Klose wrote: matthieu castet writes: Package: bash Version: 3.0-14 Severity: normal Hi, Bash accept negative exit status, I don't now if it is normal (dash or posh don't accept it.) But even if there are accepted, the return value is wrong : $ bash -c exit -1; echo $?

Bug#299928: bash: negative exit status are buggy

2005-09-10 Thread Matthias Klose
matthieu castet writes: Package: bash Version: 3.0-14 Severity: normal Hi, Bash accept negative exit status, I don't now if it is normal (dash or posh don't accept it.) But even if there are accepted, the return value is wrong : $ bash -c exit -1; echo $? 255 bash -c exit -10;

Bug#299928: bash: negative exit status are buggy

2005-09-10 Thread Chet Ramey
Matthias Klose wrote: matthieu castet writes: Package: bash Version: 3.0-14 Severity: normal Hi, Bash accept negative exit status, I don't now if it is normal (dash or posh don't accept it.) But even if there are accepted, the return value is wrong : $ bash -c exit -1; echo $? 255 bash -c

Bug#299928: bash: negative exit status are buggy

2005-03-17 Thread matthieu castet
Package: bash Version: 3.0-14 Severity: normal Hi, Bash accept negative exit status, I don't now if it is normal (dash or posh don't accept it.) But even if there are accepted, the return value is wrong : $ bash -c exit -1; echo $? 255 bash -c exit -10; echo $? 246 Matthieu -- System