dude u didnt get, in your example : is already the cmd
therenis no 'exit cmd' in your code
only exit as arg to :
On Fri, Apr 15, 2022, 20:36 Frank Heckenbach
wrote:
> > > #!/bin/bash
> > > : $((08 + 0)); exit
> > > echo "Should not get here."
> >
> > It never executes `exit'.
> >
> > The explana
On 4/15/22 11:52 AM, Martin Schulte wrote:
Hello bash-bughunters,
please consider the following interactive lines:
It turns out that running it in an interactive shell is the key.
$ echo $BASH_VERSION
5.1.4(1)-release
$ uname -a
Linux t1 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17)
On 4/15/22 2:34 PM, Frank Heckenbach wrote:
#!/bin/bash
: $((08 + 0)); exit
echo "Should not get here."
It never executes `exit'.
The explanation in
https://lists.gnu.org/archive/html/bug-bash/2022-04/msg00010.html applies here.
The arithmetic syntax error (invalid octal constant) results in
On 4/16/22 9:50 AM, Alex fxmbsw7 Ratchev wrote:
dude u didnt get, in your example : is already the cmd
therenis no 'exit cmd' in your code
only exit as arg to :
No, you missed the `;' separator:
> > : $((08 + 0)); exit
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
On 4/16/22 1:45 AM, Sam James wrote:
Bash Version: 5.2
Patch Level: 0
Release Status: beta
Description:
Bash crashes when running compgen -c -X a.
Repeat-By:
# bash -c "compgen -c -X a"
Segmentation fault (core dumped)
I can't reproduce this. I wonder if it has to do
On Apr 16 2022, Chet Ramey wrote:
> On 4/16/22 1:45 AM, Sam James wrote:
>
>> Bash Version: 5.2
>> Patch Level: 0
>> Release Status: beta
>> Description:
>> Bash crashes when running compgen -c -X a.
>> Repeat-By:
>> # bash -c "compgen -c -X a"
>> Segmentation fault (core
> On 16 Apr 2022, at 17:11, Chet Ramey wrote:
>
> On 4/16/22 1:45 AM, Sam James wrote:
>
>> Bash Version: 5.2
>> Patch Level: 0
>> Release Status: beta
>> Description:
>> Bash crashes when running compgen -c -X a.
>> Repeat-By:
>># bash -c "compgen -c -X a"
>>Segmentati